Skip to content

Commit

Permalink
fixing Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysGonchar committed Aug 3, 2020
1 parent af2fb57 commit beb9d6d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM phusion/baseimage as amoc-build
FROM phusion/baseimage:18.04-1.0.0 as amoc-build

ARG otp_vsn=22.3.4-1

RUN apt-get update && \
apt-get install -y --no-install-recommends \
git \
make \
wget && \
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && \
dpkg -i erlang-solutions_1.0_all.deb && \
git make wget gnupg && \
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && \
dpkg -i erlang-solutions_2.0_all.deb && \
apt-get update && \
apt-get install -y esl-erlang=1:${otp_vsn}

Expand All @@ -18,7 +16,7 @@ RUN cd amoc_build && \
git clean -ffxd && \
make rel

FROM phusion/baseimage
FROM phusion/baseimage:18.04-1.0.0
MAINTAINER Erlang Solutions <mongoose-im@erlang-solutions.com>

RUN useradd -ms /bin/bash amoc
Expand Down

0 comments on commit beb9d6d

Please sign in to comment.