We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a65721 commit 1fb4c9eCopy full SHA for 1fb4c9e
Dockerfile
@@ -1,6 +1,12 @@
1
FROM alpine:3.2
2
3
-ADD build/codeclimate-golint /usr/src/app/
+MAINTAINER Code Climate <hello@codeclimate.com>
4
+
5
+WORKDIR /code
6
7
+COPY build/codeclimate-golint /usr/src/app/
8
9
+VOLUME /code
10
11
RUN adduser -u 9000 -D app
12
USER app
bin/build
@@ -13,6 +13,6 @@ BUILD_SCRIPT="cd /src && "\
13
"rm -rf build && mkdir build && "\
14
"go build -o build/codeclimate-golint ."
15
16
-docker run -v "$SRC_ROOT:/src" yunspace/alpine-golang /bin/sh -c "$BUILD_SCRIPT"
+docker run -v "$SRC_ROOT:/src" golang:latest /bin/sh -c "$BUILD_SCRIPT"
17
18
docker build -t "$IMAGE" .
0 commit comments