diff --git a/.drone.yml b/.drone.yml index 6bbbbee..71d571a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,10 +3,13 @@ kind: pipeline type: docker name: default + + steps: - name: staticcheck image: golang:1.18.3-alpine3.16 commands: + - apk add --no-cache git staticcheck gcc libc-dev - go install honnef.co/go/tools/cmd/staticcheck@latest - staticcheck - name: build diff --git a/Dockerfile b/Dockerfile index cda8681..a1cc146 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ARG uid=1000 RUN mkdir -p "$APP_ROOT" \ && addgroup --system sfu -g $gid \ && adduser -h "$APP_ROOT" --disabled-password --system -u $uid --ingroup sfu sfu \ - && apk add curl~=7 + && apk add --no-cache curl~=7 WORKDIR "$APP_ROOT" USER sfu:sfu