diff --git a/pkg/Dockerfile.rpm b/pkg/Dockerfile.rpm index c7096a735..612c15381 100644 --- a/pkg/Dockerfile.rpm +++ b/pkg/Dockerfile.rpm @@ -16,11 +16,8 @@ ENV MIX_ENV prod WORKDIR /build COPY .tool-versions .tool-versions COPY pkg/asdf.sh asdf.sh -RUN ./asdf.sh - ENV PATH "/root/.asdf/bin:/root/.asdf/shims:${PATH}" -RUN echo $PATH - +RUN ./asdf.sh # Dockerfile-friendly build release RUN mix local.hex --force && \ diff --git a/pkg/asdf.sh b/pkg/asdf.sh index 031009bc0..d7638383a 100755 --- a/pkg/asdf.sh +++ b/pkg/asdf.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash set -e -# Wraps asdf to use within Dockerfiles -. $HOME/.asdf/asdf.sh - asdf plugin-add erlang asdf plugin-add elixir asdf plugin-add nodejs