Skip to content

Commit

Permalink
Merge pull request #721 from trade-tariff/BAU-bump-alpine
Browse files Browse the repository at this point in the history
BAU: Bump alpine
  • Loading branch information
willfish committed Nov 15, 2023
2 parents 86bfed7 + 529363c commit 7554f68
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
@@ -1,5 +1,5 @@
# Build compilation image
FROM ruby:3.2.2-alpine3.16 as builder
FROM ruby:3.2.2-alpine3.18 as builder

# The application runs from /app
WORKDIR /app
Expand All @@ -26,7 +26,8 @@ COPY . /app/

ENV GOVUK_APP_DOMAIN=localhost \
GOVUK_WEBSITE_ROOT=http://localhost/ \
RAILS_ENV=production
RAILS_ENV=production \
NODE_OPTIONS="--openssl-legacy-provider"

RUN bundle exec rails assets:precompile

Expand All @@ -40,7 +41,7 @@ RUN rm -rf node_modules log tmp && \
find /usr/local/bundle/gems -name "*.html" -delete

# Build runtime image
FROM ruby:3.2.2-alpine3.16 as production
FROM ruby:3.2.2-alpine3.18 as production

RUN apk add --update --no-cache tzdata && \
cp /usr/share/zoneinfo/Europe/London /etc/localtime && \
Expand Down

0 comments on commit 7554f68

Please sign in to comment.