portainer/Dockerfile

16 lines
443 B
Docker
Raw Normal View History

2013-10-02 04:44:02 +00:00
FROM ubuntu:12.04
RUN apt-get update
2013-12-30 18:40:08 +00:00
RUN apt-get install -y curl
RUN curl -s https://go.googlecode.com/files/go1.2.linux-amd64.tar.gz | tar -v -C /opt -xz ;\
2013-10-03 02:50:08 +00:00
cp -a /opt/go/* /usr/local/ ;\
2013-12-30 18:40:08 +00:00
rm -rf /opt/go;
2013-10-03 02:50:08 +00:00
ENV GOROOT /usr/local/
ADD . /app/
2013-09-03 01:55:00 +00:00
WORKDIR /app/
RUN go build dockerui.go
2013-10-02 04:44:02 +00:00
EXPOSE 9000
2014-02-15 04:29:08 +00:00
ENTRYPOINT ["./dockerui"]