From 233d2ee8caae3ed4119780c8f135265c65127e2c Mon Sep 17 00:00:00 2001 From: Robert Clark Date: Fri, 5 Mar 2021 14:07:43 -0500 Subject: [PATCH] Lock Dockerfile to Ruby 2.7 (#74) Signed-off-by: Robert Clark --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bbd0ba2..0d8ebb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:alpine as builder +FROM ruby:2-alpine as builder LABEL name="Heimdall Tools" \ vendor="MTIRE" \ @@ -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"]