Skip to content

Commit c53e50c

Browse files
dipinhoraSeanTAllen
authored andcommitted
Add pony stable to docker image
This allows users of the docker image to do the following: * `docker run -it ponylang/ponyc stable fetch` to fetch dependencies * `docker run -it ponylang/ponyc stable env ponyc` to build with dependencies
1 parent 9c912ee commit c53e50c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ ENV LLVM_VERSION 3.9.1
44

55
RUN apt-get update \
66
&& apt-get install -y \
7+
apt-transport-https \
78
g++ \
89
git \
910
libncurses5-dev \
@@ -13,6 +14,11 @@ RUN apt-get update \
1314
wget \
1415
xz-utils \
1516
zlib1g-dev \
17+
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "D401AB61 DBE1D0A2" \
18+
&& echo "deb https://dl.bintray.com/pony-language/pony-stable-debian /" | tee -a /etc/apt/sources.list \
19+
&& apt-get update \
20+
&& apt-get install -y \
21+
pony-stable \
1622
&& rm -rf /var/lib/apt/lists/* \
1723
&& wget -O - http://llvm.org/releases/${LLVM_VERSION}/clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04.tar.xz \
1824
| tar xJf - --strip-components 1 -C /usr/local/ clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-16.04

0 commit comments

Comments
 (0)