Remove tusd user
This commit is contained in:
parent
a7f2d8cdd2
commit
cb040c9afd
|
@ -21,7 +21,7 @@ spec:
|
|||
memory: "2Gi"
|
||||
requests:
|
||||
cpu: 0.5
|
||||
memory: "1Gi"
|
||||
memory: "1Gi"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
securityContext:
|
||||
|
|
|
@ -5,9 +5,7 @@ COPY . /go/src/github.com/tus/tusd/
|
|||
|
||||
# Create app directory
|
||||
|
||||
RUN addgroup -g 1000 tusd \
|
||||
&& adduser -u 1000 -G tusd -s /bin/sh -D tusd \
|
||||
&& cd /go/src/github.com/tus/tusd \
|
||||
RUN cd /go/src/github.com/tus/tusd \
|
||||
&& apk add --no-cache \
|
||||
git \
|
||||
&& go get -d -v ./... \
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
chown tusd:tusd /srv/tusd-data
|
||||
chown tusd:tusd /srv/tusd-hooks
|
||||
/go/bin/tusd -dir /srv/tusd-dat --hooks-dir /srv/tusd-hooks
|
||||
/go/bin/tusd -dir /srv/tusd-data --hooks-dir /srv/tusd-hooks
|
Loading…
Reference in New Issue