Fix `build-image` workflow (#1375)
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
This commit is contained in:
parent
ffcaa5c4d9
commit
439797ee1e
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue