|
@@ -2,8 +2,6 @@
|
|
|
# and a workspace (GOPATH) configured at /go.
|
|
# and a workspace (GOPATH) configured at /go.
|
|
|
FROM buildpack-deps:jessie-scm
|
|
FROM buildpack-deps:jessie-scm
|
|
|
|
|
|
|
|
-ENV HOST_UID=$UID HOST_GID=$GID
|
|
|
|
|
-
|
|
|
|
|
# Copy the local package files to the container's workspace.
|
|
# Copy the local package files to the container's workspace.
|
|
|
ADD bin/battlecamp-go-server /go/bin/battlecamp-go-server
|
|
ADD bin/battlecamp-go-server /go/bin/battlecamp-go-server
|
|
|
|
|
|
|
@@ -12,7 +10,6 @@ ADD bin/battlecamp-go-server /go/bin/battlecamp-go-server
|
|
|
# either manually or with a tool like "godep".)
|
|
# either manually or with a tool like "godep".)
|
|
|
# RUN go install battlecamp-go-server
|
|
# RUN go install battlecamp-go-server
|
|
|
|
|
|
|
|
-#RUN ["chown","-R","$HOST_UID:$HOST_GID","/go/bin/battlecamp-go-server"]
|
|
|
|
|
RUN ["chmod", "755", "/go/bin/battlecamp-go-server"]
|
|
RUN ["chmod", "755", "/go/bin/battlecamp-go-server"]
|
|
|
|
|
|
|
|
# Run the battlecamp-go-server command by default when the container starts.
|
|
# Run the battlecamp-go-server command by default when the container starts.
|