Revert "adduser before chown"

This reverts commit 7761ed423f86308928d7a0cdc10380dbc3260e28.
This commit is contained in:
z4yx 2020-05-26 10:00:23 +08:00
parent 0c08f9e4b8
commit 8dfbbf5ca8

View File

@ -27,7 +27,7 @@ RUN jill install 1.4 --confirm
# The API is likely to be changed in the future, so we fix the version here for stability consideration
RUN julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageServer.jl#v0.1.0-beta.1"'
RUN adduser --gecos '' --uid 2000 --disabled-password tunasync && chown -R tunasync /tmp/julia/
RUN chown -R 2000 /tmp/julia/
WORKDIR /julia
CMD /bin/bash