You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/Dockerfile

16 lines
443 B

FROM ubuntu:12.04
RUN apt-get update
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 ;\
cp -a /opt/go/* /usr/local/ ;\
rm -rf /opt/go;
ENV GOROOT /usr/local/
ADD . /app/
WORKDIR /app/
RUN go build dockerui.go
EXPOSE 9000
ENTRYPOINT ["./dockerui"]