Skip to content
Open
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
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# The base stage scaffolds elements which are common to building and running
# the application, such as installing ca-certificates, creating the app user,
# and installing runtime system dependencies.
FROM ruby:3.3-slim AS base
FROM ruby:3.3.11-slim AS base

# ------------------------------------------------------------
# Declarative metadata
Expand Down Expand Up @@ -93,7 +93,7 @@ FROM base AS development
USER root

# Install system packages needed to build gems with C extensions.
RUN apt-get install -y --no-install-recommends \
RUN apt-get update -qq && apt-get install -y --no-install-recommends \
g++ \
make

Expand All @@ -103,9 +103,6 @@ RUN apt-get install -y --no-install-recommends \
# Drop back to $APP_USER.
USER $APP_USER

# Workaround for certificate issue pulling av_core gem from git.lib.berkeley.edu
ENV GIT_SSL_NO_VERIFY=1

# Install gems. We don't enforce the validity of the Gemfile.lock until the
# final (production) stage.
COPY --chown=$APP_USER:$APP_USER Gemfile* .ruby-version ./
Expand Down
Loading