mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
16 lines
451 B
Docker
16 lines
451 B
Docker
FROM ruimarinho/bitcoin-core:22-alpine
|
|
|
|
ARG LOCAL_USER_ID=9999
|
|
ARG LOCAL_GROUP_ID=9999
|
|
|
|
# Set the expected local user id
|
|
# for shared group to access tor cookie
|
|
RUN apk --no-cache --no-progress add shadow=~4 gettext=~0.21 && \
|
|
groupadd -g "$LOCAL_GROUP_ID" bitcoin && \
|
|
usermod -u "$LOCAL_USER_ID" -g bitcoin bitcoin
|
|
|
|
COPY entrypoint.sh /root/entrypoint.sh
|
|
COPY bitcoin.conf /tmp/bitcoin.conf
|
|
ENTRYPOINT [ "/root/entrypoint.sh" ]
|
|
CMD ["bitcoind"]
|