diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a89b9a07..e3f47a99 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,6 @@ variables: APP_VERSION: "${CI_COMMIT_REF_NAME}" APP_ASSET: "${CI_PROJECT_NAME}_${CI_COMMIT_REF_NAME}_${ARCH}.tar.gz" CYPRESS_INSTALL_BINARY: 0 - HEX_MIRROR: https://cdn.jsdelivr.net/hex cache: key: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}" diff --git a/docker/multiarch/Dockerfile b/docker/multiarch/Dockerfile index 64db53d1..cb11aaa1 100644 --- a/docker/multiarch/Dockerfile +++ b/docker/multiarch/Dockerfile @@ -32,7 +32,7 @@ WORKDIR /mobilizon # Elixir release RUN source /root/.bashrc && \ - HEX_MIRROR="https://cdn.jsdelivr.net/hex" mix deps.get --only prod && \ + mix deps.get --only prod && \ mix compile && \ mix phx.digest.clean --all && \ mix release --path release/mobilizon && \ diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 511934c3..33612106 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -20,7 +20,7 @@ COPY mix.exs mix.lock ./ ENV MIX_ENV=prod RUN mix local.hex --force \ && mix local.rebar --force \ - && HEX_MIRROR="https://cdn.jsdelivr.net/hex" mix deps.get + && mix deps.get COPY lib ./lib COPY priv ./priv