Build-Dockerfile hinzugefügt.
This commit is contained in:
parent
64659b48eb
commit
9d76bbee40
1 changed files with 15 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk update && apk add ruby-bundler ruby-dev git make gcc g++ musl-dev ruby-json ruby-bigdecimal nodejs linux-headers
|
||||
RUN gem install jekyll
|
||||
COPY git-dir/Gemfile .
|
||||
COPY git-dir/Gemfile.lock .
|
||||
RUN bundle lock --add-platform x86_64-linux-musl
|
||||
RUN bundle update
|
||||
RUN bundle install --verbose
|
||||
|
||||
COPY build.sh /srv
|
||||
RUN chmod +x /srv/build.sh
|
||||
|
||||
WORKDIR /srv/
|
||||
ENTRYPOINT ["/bin/sh", "build.sh"]
|
Loading…
Reference in a new issue