Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ build-idp-image:
--cache-repo="${ECR_REGISTRY}/identity-idp/idp/cache"
--cache-ttl=168h
--cache=true
--single-snapshot
--snapshot-mode=redo
--compressed-caching=false
--build-arg "http_proxy=${http_proxy}"
--build-arg "https_proxy=${https_proxy}"
Expand Down
5 changes: 2 additions & 3 deletions dockerfiles/idp_prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ COPY public/ban-robots.txt $RAILS_ROOT/public/robots.txt
COPY ./config/application.yml.default.prod $RAILS_ROOT/config/application.yml

# Precompile assets
RUN bundle exec rake assets:precompile --trace
RUN bundle exec rake assets:precompile --trace && rm -r node_modules/ && rm -r .yarn-cache/

# get service_providers.yml and related files
ARG SERVICE_PROVIDERS_KEY
Expand Down Expand Up @@ -136,7 +136,7 @@ RUN openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 1825 \
#########################################################################
# This is the main image.
#########################################################################
FROM ruby:3.3.4-slim
FROM ruby:3.3.4-slim as main

# Set environment variables
ENV RAILS_ROOT /app
Expand Down Expand Up @@ -179,7 +179,6 @@ RUN apt-get update -qq && \
libxml2-dev \
libxslt1-dev \
libcurl4-openssl-dev \
software-properties-common \
libffi-dev \
libpq-dev \
unzip && \
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/idp_prod.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/app/node_modules

/app/.yarn-cache