Merge pull request #1794 from shaman007/issue-1793

Add apt-get upgrade to Dockerfiles
This commit is contained in:
Evgenii Burmakin 2025-10-07 21:30:50 +02:00 committed by GitHub
commit 8ad5afe216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,9 @@ ENV SIDEKIQ_PASSWORD=password
# Resolving sqlite3 error
ENV PGSSENCMODE=disable
RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
curl \
wget \
build-essential \

View file

@ -7,7 +7,9 @@ ENV RAILS_LOG_TO_STDOUT=true
ENV RAILS_PORT=3000
ENV RAILS_ENV=production
RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
curl \
wget \
build-essential \