Skip to content

Commit

Permalink
updates dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
neilha committed Nov 15, 2024
1 parent 8779360 commit b5d5c24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ COPY --from=builder /usr/local/include/ /usr/local/include/
COPY --from=builder /usr/local/lib/ /usr/local/lib/
COPY --from=builder /usr/local/share/ /usr/local/share/

# Environment variables common to most GOV.UK apps.
# Environment variables common to most Publishing Platform apps.
ENV APP_HOME=/app \
GEM_HOME=/usr/local/bundle \
GEM_PATH=/usr/local/lib/ruby/gems/$RUBY_MAJOR \
Expand All @@ -81,9 +81,9 @@ ENV APP_HOME=/app \
NODE_ENV=production \
BUNDLE_WITHOUT="development test cucumber" \
BOOTSNAP_CACHE_DIR=/var/cache \
GOVUK_APP_DOMAIN=www.gov.uk \
GOVUK_WEBSITE_ROOT=https://www.gov.uk \
GOVUK_PROMETHEUS_EXPORTER=true \
PUBLISHING_PLATFORM_APP_DOMAIN=www.publishing-platform.co.uk \
PUBLISHING_PLATFORM_WEBSITE_ROOT=https://www.publishing-platform.co.uk \
PUBLISHING_PLATFORM_PROMETHEUS_EXPORTER=true \
DEBIAN_FRONTEND=noninteractive \
TZ=Europe/London

Expand Down Expand Up @@ -150,4 +150,4 @@ RUN set -x; \
bundle version; \
rm -r /tmp/*;

LABEL org.opencontainers.image.source=https://github.com/alphagov/govuk-ruby-images
LABEL org.opencontainers.image.source=https://github.com/publishing-platform/publishing-platform-ruby-images
4 changes: 2 additions & 2 deletions builder.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG RUBY_MAJOR
FROM ghcr.io/alphagov/govuk-ruby-base:${RUBY_MAJOR}
FROM ghcr.io/publishing-platform/publishing-platform-ruby-base:${RUBY_MAJOR}

RUN install_packages \
g++ git gpg libc-dev libcurl4-openssl-dev libgdbm-dev libssl-dev \
Expand All @@ -14,4 +14,4 @@ RUN echo 'gem: --no-document' >> /etc/gemrc

ENV SECRET_KEY_BASE_DUMMY=1

LABEL org.opencontainers.image.source=https://github.com/alphagov/govuk-ruby-images
LABEL org.opencontainers.image.source=https://github.com/publishing-platform/publishing-platform-ruby-images

0 comments on commit b5d5c24

Please sign in to comment.