Skip to content

Commit

Permalink
Lock Dockerfile to Ruby 2.7 (#74)
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Clark <[email protected]>
  • Loading branch information
Robert Clark authored Mar 5, 2021
1 parent 1ddece6 commit 233d2ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:alpine as builder
FROM ruby:2-alpine as builder

LABEL name="Heimdall Tools" \
vendor="MTIRE" \
Expand All @@ -18,13 +18,13 @@ RUN cd /build && \
gem build heimdall_tools.gemspec -o heimdall_tools.gem


FROM ruby:alpine
FROM ruby:2-alpine

RUN apk add --no-cache build-base

COPY --from=builder /build/heimdall_tools.gem /build/
RUN gem install build/heimdall_tools.gem

RUN apk del build-base

ENTRYPOINT ["heimdall_tools"]
Expand Down

0 comments on commit 233d2ee

Please sign in to comment.