mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
351436a258
* De-duplicate Dockerfiles by using a bash file to concatenate common parts Resolves #375. Dockerfiles are still committed to the repo to avoid a dependency on bash. * Add a CI job to confirm the committed dockerfiles are the currently generated ones * Create dedicated Dockerfiles per processor network Ensures the compromising of network-specific dependencies doesn't lead to a compromise of the build process for all processors. * Dockerfile corrections * Correct call to build processor Docker image in tests/processor
13 lines
325 B
Text
13 lines
325 B
Text
RUN apk --no-cache add gcompat
|
|
|
|
# Switch to a non-root user
|
|
# System user (not a human), shell of nologin, no password assigned
|
|
RUN adduser -S -s /sbin/nologin -D monero
|
|
USER monero
|
|
|
|
WORKDIR /home/monero
|
|
COPY --from=monero --chown=monero monerod /bin
|
|
ADD scripts /scripts
|
|
|
|
EXPOSE 18080 18081
|
|
# VOLUME /home/monero/.bitmonero
|