Remove tusd user

This commit is contained in:
kiloreux 2018-01-04 17:51:27 +01:00
parent a7f2d8cdd2
commit cb040c9afd
No known key found for this signature in database
GPG Key ID: 8B81EA3FA91EB758
3 changed files with 3 additions and 7 deletions

View File

@ -5,9 +5,7 @@ COPY . /go/src/github.com/tus/tusd/
# Create app directory # Create app directory
RUN addgroup -g 1000 tusd \ RUN cd /go/src/github.com/tus/tusd \
&& adduser -u 1000 -G tusd -s /bin/sh -D tusd \
&& cd /go/src/github.com/tus/tusd \
&& apk add --no-cache \ && apk add --no-cache \
git \ git \
&& go get -d -v ./... \ && go get -d -v ./... \

View File

@ -1,5 +1,3 @@
#!/bin/sh #!/bin/sh
chown tusd:tusd /srv/tusd-data /go/bin/tusd -dir /srv/tusd-data --hooks-dir /srv/tusd-hooks
chown tusd:tusd /srv/tusd-hooks
/go/bin/tusd -dir /srv/tusd-dat --hooks-dir /srv/tusd-hooks