1
0
mirror of https://github.com/erlang/docker-erlang-example.git synced 2025-08-01 10:06:50 +03:00

Remove rebar3 install from basic example

rebar3 is already installed in image.
This commit is contained in:
Lukas Larsson
2019-06-26 10:10:27 +02:00
parent 398b9c26d3
commit c54e108bd0
8 changed files with 14 additions and 60 deletions

View File

@ -5,15 +5,8 @@ FROM erlang:alpine
RUN apk add --no-cache g++ && \
apk add --no-cache make
# Install Rebar3
RUN mkdir -p /buildroot/rebar3/bin
ADD https://s3.amazonaws.com/rebar3/rebar3 /buildroot/rebar3/bin/rebar3
RUN chmod a+x /buildroot/rebar3/bin/rebar3
# Setup Environment
ENV PATH=/buildroot/rebar3/bin:$PATH
# Reset working directory
RUN mkdir /buildroot
WORKDIR /buildroot
# Copy our Erlang test application