diff --git a/k8s/Dockerfile b/k8s/Dockerfile index 57270e3e..1d005f47 100644 --- a/k8s/Dockerfile +++ b/k8s/Dockerfile @@ -41,6 +41,7 @@ ENV MIX_ENV="prod" # install mix dependencies COPY mix.exs mix.lock ./ +COPY vendor vendor RUN --mount=type=cache,target=/root/.hex \ --mount=type=cache,target=/root/.mix \ mix deps.get --only $MIX_ENV @@ -82,7 +83,7 @@ FROM ${RUNNER_IMAGE} AS final RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \ - && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libstdc++6 openssl libncurses6 locales ca-certificates iputils-ping \ + && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libstdc++6 openssl libncurses6 locales ca-certificates iputils-ping snmp \ && rm -rf /var/lib/apt/lists/* # Set the locale