-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linting reported by super-linter (#37)
- Loading branch information
1 parent
84a048c
commit e827a80
Showing
1 changed file
with
12 additions
and
6 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,18 +1,24 @@ | ||
FROM ruby:2.6.4-alpine3.9 | ||
|
||
LABEL maintainer "[email protected]" | ||
RUN apk add --no-cache git | ||
LABEL maintainer="[email protected]" | ||
|
||
SHELL ["/bin/ash", "-eo", "pipefail", "-c"] | ||
|
||
RUN apk add --no-cache \ | ||
git=2.20.4-r0 | ||
|
||
WORKDIR / | ||
COPY Gemfile Gemfile | ||
RUN gem install bundler --version $(cat Gemfile | grep bundler | awk -F "'" '{print $4}') \ | ||
RUN gem install bundler --version "$(grep bundler Gemfile | awk -F "'" '{print $4}')" \ | ||
&& bundle install --system \ | ||
&& gem uninstall bundler | ||
&& gem uninstall bundler \ | ||
&& rm Gemfile | ||
ENV SRC_PATH /usr/local/src/your-app | ||
RUN mkdir -p $SRC_PATH | ||
RUN mkdir -p "${SRC_PATH}" | ||
VOLUME [ "$SRC_PATH" ] | ||
WORKDIR $SRC_PATH | ||
CMD ["--help"] | ||
ENTRYPOINT ["github_changelog_generator"] | ||
CMD ["--help"] |