mirror of https://github.com/portainer/portainer
26 lines
643 B
Docker
26 lines
643 B
Docker
# Dockerfile for DockerUI
|
|
|
|
FROM ubuntu:12.04
|
|
|
|
MAINTAINER Michael Crosby http://crosbymichael.com
|
|
|
|
RUN apt-get update
|
|
RUN apt-get upgrade -y
|
|
|
|
RUN apt-get install -y curl ;\
|
|
curl -s https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz | tar -v -C /opt -xz ;\
|
|
cp -a /opt/go/* /usr/local/ ;\
|
|
rm -rf /opt/go ;\
|
|
#RUN
|
|
|
|
ENV GOROOT /usr/local/
|
|
|
|
ADD . /app/
|
|
|
|
WORKDIR /app/
|
|
|
|
RUN go build dockerui.go
|
|
|
|
EXPOSE 9000
|
|
ENTRYPOINT ["./dockerui"]
|