Fix `build-image` workflow (#1375)

Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
Andreas Nedbal 2023-10-15 12:50:55 +02:00 committed by GitHub
parent ffcaa5c4d9
commit 439797ee1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Container image for a production Retrospring setup # Container image for a production Retrospring setup
FROM registry.opensuse.org/opensuse/leap:15.4 FROM registry.opensuse.org/opensuse/leap:15.5
LABEL org.opencontainers.image.title="Retrospring (production)" LABEL org.opencontainers.image.title="Retrospring (production)"
LABEL org.opencontainers.image.description="Image containing everything to run Retrospring in production mode. Do not use this for development." LABEL org.opencontainers.image.description="Image containing everything to run Retrospring in production mode. Do not use this for development."
@ -15,7 +15,8 @@ ARG BUNDLER_VERSION=2.3.18
ENV RAILS_ENV=production ENV RAILS_ENV=production
# update and install dependencies # update and install dependencies
RUN zypper up -y \ RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:nodejs/15.5/devel:languages:nodejs.repo \
&& zypper --gpg-auto-import-keys up -y \
&& zypper in -y \ && zypper in -y \
# build dependencies (ruby-install) # build dependencies (ruby-install)
automake \ automake \
@ -31,12 +32,13 @@ RUN zypper up -y \
tar \ tar \
xz \ xz \
zlib-devel \ zlib-devel \
curl \
# build dependencies (app) # build dependencies (app)
gcc-c++ \ gcc-c++ \
git \ git \
libidn-devel \ libidn-devel \
nodejs14 \ nodejs16 \
npm14 \ npm16 \
postgresql-devel \ postgresql-devel \
# runtime dependencies # runtime dependencies
ImageMagick \ ImageMagick \