mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-11 04:20:03 +00:00
19 lines
464 B
Docker
19 lines
464 B
Docker
FROM lightninglabs/lnd:v0.16.4-beta
|
|
|
|
ARG LOCAL_USER_ID=9999
|
|
ARG LOCAL_GROUP_ID=9999
|
|
|
|
USER root
|
|
|
|
RUN adduser --disabled-password lnd
|
|
# Set the expected local user id
|
|
# for shared group to access tor cookie
|
|
RUN apk --no-cache --no-progress add shadow=~4 sudo=~1 gettext=~0.21 && \
|
|
usermod -u "$LOCAL_USER_ID" lnd && \
|
|
groupmod -g "$LOCAL_GROUP_ID" lnd
|
|
|
|
USER root
|
|
COPY entrypoint.sh /root/entrypoint.sh
|
|
COPY config/ /tmp/
|
|
ENTRYPOINT [ "/root/entrypoint.sh" ]
|