Something not right with the key volume on user installs

This commit is contained in:
idk
2020-05-06 21:38:53 -04:00
parent 54edb1b12e
commit 9ed8caaec3
3 changed files with 5 additions and 8 deletions

View File

@@ -9,6 +9,6 @@ RUN apt-get update && \
mkdir -p /var/lib/i2p/i2p-config/reseed && \
chown -R $I2P_UID:$I2P_GID /var/lib/i2p && chmod -R o+rwx /var/lib/i2p
RUN /usr/lib/go-1.13/bin/go build -v -tags netgo -ldflags '-w -extldflags "-static"'
VOLUME /var/lib/i2p/i2p-config/reseed
USER $I2P_UID
WORKDIR /var/lib/i2p/i2p-config/reseed
ENTRYPOINT [ "/var/lib/i2p/go/src/github.com/eyedeekay/i2p-tools-1/entrypoint.sh" ]