mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
fix asdf path issues
This commit is contained in:
@@ -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 && \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user