-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCKER] Update github-changelog-generator (#75)
- Loading branch information
1 parent
44095ef
commit bc7c880
Showing
4 changed files
with
88 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
FROM ruby:3.0.0-alpine3.13 | ||
|
||
# Create user | ||
RUN addgroup --gid 11111 -S app | ||
RUN adduser -s /bin/false -u 11111 -G app -S app | ||
|
||
# Setup workdir | ||
RUN mkdir -p /src | ||
WORKDIR /src | ||
RUN chown -R app:app /src | ||
|
||
# Install dependencies | ||
RUN apk add --no-cache git | ||
|
||
# Install Gems | ||
COPY docker/github-changelog-generator/Gemfile Gemfile | ||
RUN gem install bundler --version $(cat Gemfile | grep bundler | awk -F "'" '{print $4}') \ | ||
&& bundle install --system \ | ||
&& gem uninstall bundler | ||
RUN bundle install | ||
|
||
ENV SRC_PATH /src | ||
RUN mkdir -p $SRC_PATH | ||
VOLUME [ "$SRC_PATH" ] | ||
WORKDIR $SRC_PATH | ||
|
||
RUN addgroup --gid 11111 -S app | ||
RUN adduser -s /bin/false -u 11111 -G app -S app | ||
RUN chown -R app:app /src | ||
# Run app | ||
USER app | ||
|
||
CMD ["--help"] | ||
ENTRYPOINT ["github_changelog_generator"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
activesupport (6.1.4.1) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
zeitwerk (~> 2.3) | ||
addressable (2.8.0) | ||
public_suffix (>= 2.0.2, < 5.0) | ||
concurrent-ruby (1.1.9) | ||
faraday (1.8.0) | ||
faraday-em_http (~> 1.0) | ||
faraday-em_synchrony (~> 1.0) | ||
faraday-excon (~> 1.1) | ||
faraday-httpclient (~> 1.0.1) | ||
faraday-net_http (~> 1.0) | ||
faraday-net_http_persistent (~> 1.1) | ||
faraday-patron (~> 1.0) | ||
faraday-rack (~> 1.0) | ||
multipart-post (>= 1.2, < 3) | ||
ruby2_keywords (>= 0.0.4) | ||
faraday-em_http (1.0.0) | ||
faraday-em_synchrony (1.0.0) | ||
faraday-excon (1.1.0) | ||
faraday-http-cache (2.2.0) | ||
faraday (>= 0.8) | ||
faraday-httpclient (1.0.1) | ||
faraday-net_http (1.0.1) | ||
faraday-net_http_persistent (1.2.0) | ||
faraday-patron (1.0.0) | ||
faraday-rack (1.0.0) | ||
github_changelog_generator (1.15.2) | ||
activesupport | ||
faraday-http-cache | ||
multi_json | ||
octokit (~> 4.6) | ||
rainbow (>= 2.2.1) | ||
rake (>= 10.0) | ||
retriable (~> 3.0) | ||
i18n (1.8.11) | ||
concurrent-ruby (~> 1.0) | ||
minitest (5.14.4) | ||
multi_json (1.15.0) | ||
multipart-post (2.1.1) | ||
octokit (4.21.0) | ||
faraday (>= 0.9) | ||
sawyer (~> 0.8.0, >= 0.5.3) | ||
public_suffix (4.0.6) | ||
rainbow (3.0.0) | ||
rake (13.0.6) | ||
retriable (3.1.2) | ||
ruby2_keywords (0.0.5) | ||
sawyer (0.8.2) | ||
addressable (>= 2.3.5) | ||
faraday (> 0.8, < 2.0) | ||
tzinfo (2.0.4) | ||
concurrent-ruby (~> 1.0) | ||
zeitwerk (2.5.1) | ||
|
||
PLATFORMS | ||
x86_64-linux-musl | ||
|
||
DEPENDENCIES | ||
bundler (= 2.2.3)! | ||
github_changelog_generator (= 1.15.2)! | ||
|
||
BUNDLED WITH | ||
2.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1 | ||
1.1 |