From f05b82d225f0b9fdcbd99fa7e370f8240a541d75 Mon Sep 17 00:00:00 2001 From: arbulu89 Date: Mon, 22 Jan 2024 10:25:44 +0100 Subject: [PATCH] Update sles container dockerfile --- packaging/suse/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packaging/suse/Dockerfile b/packaging/suse/Dockerfile index 0a05cd10..a9bbb239 100644 --- a/packaging/suse/Dockerfile +++ b/packaging/suse/Dockerfile @@ -10,13 +10,15 @@ ADD wanda.tar.gz premium-checks.tar.gz* /build/ RUN mv /build/priv/catalog/* /build/wanda/priv/catalog || true && rm -fr /build/priv/ # Workaround for https://github.com/openSUSE/obs-build/issues/487 RUN zypper --non-interactive in sles-release -RUN zypper -n in elixir elixir-hex erlang-rebar3 +RUN zypper -n in git-core elixir elixir-hex erlang-rebar3 WORKDIR /build/wanda/ ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 ENV MIX_ENV=prod ENV MIX_HOME=/usr/bin +ENV MIX_REBAR3=/usr/bin/rebar3 +ENV MIX_PATH=/usr/lib/elixir/lib/hex/ebin ENV VERSION=%%VERSION%% RUN mix phx.digest RUN mix release