-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (15 loc) · 803 Bytes
/
Dockerfile
File metadata and controls
19 lines (15 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:16.04
MAINTAINER Philip Harries / Simon Aquino
RUN echo "deb http://repo.aptly.info/ squeeze main" >> /etc/apt/sources.list.d/aptly.list && \
echo "deb http://ftp.uk.debian.org/debian/ stretch universe main" >> /etc/apt/sources.list.d/golang.list && \
apt-key adv --keyserver keys.gnupg.net --recv-keys 9E3E53F19C7DE460 8B48AD6246925553 && \
apt-get update && \
apt-get install -y aptly golang-1.7 git && \
ln -s /usr/lib/go-1.7/bin/go /usr/bin/go && \
mkdir -p /root/gowork/src/github.com/queeno && \
ln -s /root/gowork/src/github.com/queeno/aptlify /aptlify && \
GOPATH=/root/gowork go get github.com/mattn/gom
ENV GOPATH /root/gowork
ENV PATH /root/gowork/bin:/usr/bin:/usr/local/bin:/bin:/sbin:/usr/sbin
ADD start-docker.sh /start-docker.sh
CMD ["/start-docker.sh"]