mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-11-06 18:21:51 +00:00
try code coverage reporting on circle
This commit is contained in:
1 parent
67590d8216
commit
42c4561c22
4 files changed
+39
-3
No files matched your search
@@ -3,6 +3,7 @@ FROM golang:1.10-stretch
|
||||
RUN apt-get update && apt-get -y install cron python3 sudo procps
|
||||
|
||||
### Test and build ###
|
||||
|
||||
# copy source code
|
||||
COPY main.go /go/src/github.com/dominicbreuker/pspy/main.go
|
||||
COPY cmd /go/src/github.com/dominicbreuker/pspy/cmd
|
||||
@@ -27,7 +28,7 @@ RUN useradd -ms /bin/bash myuser && \
|
||||
adduser myuser sudo && \
|
||||
echo 'myuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||
USER myuser
|
||||
|
||||
RUN sudo chown -R myuser:myuser /go/*
|
||||
|
||||
# drop into bash shell
|
||||
COPY docker/entrypoint-testing.sh /entrypoint.sh
|
||||
|
||||
Reference in new issue
Block a user