mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 22:05:23 +02:00
Allow a user to bind to a unix socket
This commit is contained in:
parent
efd58156f7
commit
75d5bd1217
3 changed files with 77 additions and 27 deletions
17
Dockerfile
17
Dockerfile
|
@ -1,25 +1,16 @@
|
|||
# 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 ;\
|
||||
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 ;\
|
||||
#RUN
|
||||
rm -rf /opt/go;
|
||||
|
||||
ENV GOROOT /usr/local/
|
||||
|
||||
ADD . /app/
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
RUN go build dockerui.go
|
||||
|
||||
EXPOSE 9000
|
||||
ENTRYPOINT ["./dockerui"]
|
||||
ENTRYPOINT ["./dockerui"]
|
Loading…
Add table
Add a link
Reference in a new issue