mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 14:33:12 +00:00
16 lines
380 B
Docker
16 lines
380 B
Docker
FROM --platform=amd64 alpine:edge
|
|
|
|
ARG USER_ID
|
|
ARG GROUP_ID
|
|
|
|
RUN addgroup -g ${GROUP_ID} user; \
|
|
adduser --disabled-password --gecos '' -u ${USER_ID} -G user user;
|
|
|
|
WORKDIR /home/user/nwaku
|
|
ENTRYPOINT [ "entrypoint.sh" ]
|
|
|
|
# Get build tools and required header files
|
|
RUN apk add --no-cache bash git cargo build-base pcre-dev linux-headers
|
|
|
|
ADD entrypoint.sh /bin/entrypoint.sh
|