Skip to content

Commit eca5de8

Browse files
committed
add a user with uid 2000
1 parent dc6bfb4 commit eca5de8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockerfiles/julia/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ LABEL maintainer="Johnny Chen <[email protected]>"
1010

1111
ENV JULIA_DEPOT_PATH="/opt/julia"
1212

13-
RUN julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageMirrorServer.jl#v0.1.1-rc3"' && \
13+
RUN adduser --uid 2000 tunasync && \
14+
julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageMirrorServer.jl#v0.1.1-rc3"' && \
1415
chmod a+rx -R $JULIA_DEPOT_PATH
1516

1617
COPY dockerfiles/julia/startup.jl /usr/local/julia/etc/julia/startup.jl

0 commit comments

Comments
 (0)