mirror of
https://github.com/portainer/portainer.git
synced 2025-08-03 21:05:23 +02:00
Use crosbymichael/golang as base image
This commit is contained in:
parent
082d530c4d
commit
6e4ef733ce
1 changed files with 1 additions and 9 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,5 @@
|
||||||
FROM ubuntu:12.04
|
FROM crosbymichael/golang
|
||||||
|
|
||||||
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/
|
ADD . /app/
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
RUN go build dockerui.go
|
RUN go build dockerui.go
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue