debug
Some checks failed
the build failed

This commit is contained in:
ston1th 2019-01-18 22:35:56 +01:00
commit 0f03af5ebd
3 changed files with 2 additions and 3 deletions

View file

@ -3,4 +3,3 @@
VERSION=${DRONE_BUILD_NUMBER}
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o db db.go
CGO_ENABLED=0 GOOS=linux go build -v -gcflags '-e' -ldflags "-X main.version=$VERSION -s -w" -o srv srv.go
ls -lahR .

View file

@ -1,5 +1,5 @@
FROM alpine
ADD db /db
ADD /go/src/db /db
RUN echo -e "root:x:0:0:root:/:\nappuser:x:1000:1000:appuser:/:" > /etc/passwd
RUN echo -e "root:x:0:root\nappuser:x:1000:" > /etc/group
FROM scratch

View file

@ -1,5 +1,5 @@
FROM alpine
ADD srv /srv
ADD /go/src/srv /srv
RUN echo -e "root:x:0:0:root:/:\nappuser:x:1000:1000:appuser:/:" > /etc/passwd
RUN echo -e "root:x:0:root\nappuser:x:1000:" > /etc/group
FROM scratch