File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- FROM opensuse/leap :15.6 AS elixir-build
1
+ FROM registry.suse.com/bci/bci-base :15.6 AS elixir-build
2
2
ENV LANG=en_US.UTF-8
3
3
ENV LANGUAGE=en_US:en
4
4
ENV LC_ALL=en_US.UTF-8
@@ -32,14 +32,14 @@ ENV MIX_PATH=/usr/lib/elixir/lib/hex/ebin
32
32
RUN mix phx.digest
33
33
RUN mix release
34
34
35
- FROM opensuse/leap :15.6
35
+ FROM registry.suse.com/bci/bci-base :15.6
36
36
LABEL org.opencontainers.image.source="https://github.com/trento-project/web"
37
37
ARG MIX_ENV=prod
38
- ENV LANG en_US.UTF-8
39
- ENV LANGUAGE en_US:en
40
- ENV LC_ALL en_US.UTF-8
41
- # tar is required by kubectl cp
42
- RUN zypper -n in tar
38
+ ENV LANG= en_US.UTF-8
39
+ ENV LANGUAGE= en_US:en
40
+ ENV LC_ALL= en_US.UTF-8
41
+ # Erlang runtime dependencies
42
+ RUN zypper -n in libsystemd0 libopenssl1_1
43
43
WORKDIR /app
44
44
COPY --from=release /build/_build/$MIX_ENV/rel/trento .
45
45
EXPOSE 4000/tcp
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ LABEL org.opencontainers.image.source="https://github.com/trento-project/web"
33
33
ENV LANG=en_US.UTF-8
34
34
ENV LANGUAGE=en_US:en
35
35
ENV LC_ALL=en_US.UTF-8
36
- # tar is required by kubectl cp
37
- RUN zypper -n in tar
36
+ # Erlang runtime dependencies
37
+ RUN zypper -n in libsystemd0 libopenssl1_1
38
38
WORKDIR /app
39
39
COPY --from=release /build/web/_build/prod/rel/trento .
40
40
EXPOSE 4000/tcp
You can’t perform that action at this time.
0 commit comments