Skip to content

Commit

Permalink
Set env vars for gems
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrett committed Oct 19, 2023
1 parent 866437d commit 17e98e0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile.azure
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ ARG BASE_RUBY_IMAGE_WITH_GEMS_AND_NODE_MODULES=help-for-early-years-providers-ge
FROM ${BASE_RUBY_IMAGE} AS builder

# Set bundler version
ENV BUNDLER_VERSION=2.2.26
ENV BUNDLER_VERSION=2.2.16 \
BUNDLE_PATH=/usr/local/bundle \
BUNDLE_BIN=/usr/local/bundle/bin \
GEM_HOME=/usr/local/bundle


# Dependencies for the build
# git: version manager
Expand Down Expand Up @@ -61,7 +65,12 @@ ENV GOVUK_APP_DOMAIN=www.gov.uk \
RAILS_ENV=${RAILS_ENV} \
AUTHORIZED_HOSTS=127.0.0.1 \
SECRET_KEY_BASE=TestKey \
IGNORE_SECRETS_FOR_BUILD=1
IGNORE_SECRETS_FOR_BUILD=1 \
BUNDLER_VERSION=2.2.16 \
BUNDLE_PATH=/usr/local/bundle \
BUNDLE_BIN=/usr/local/bundle/bin \
GEM_HOME=/usr/local/bundle


# RACK_ENV=${RAILS_ENV} \
# LANG=C.UTF-8 \
Expand Down

0 comments on commit 17e98e0

Please sign in to comment.