1
0
woodpecker-sonatype-nexus/Dockerfile.ci

16 lines
278 B
Docker
Raw Normal View History

2024-05-28 14:46:02 +03:00
ARG TARGET_PLATFORM
ARG BASE_IMAGE
FROM --platform=${TARGET_PLATFORM} ${BASE_IMAGE}
ARG PLATFORM_SUFFIX
COPY /dist/publish-nexus${PLATFORM_SUFFIX} /bin/publish-nexus
ENV GOMAXPROCS=4 \
MALLOC_ARENA_MAX=4
ENTRYPOINT [ ]
CMD [ "/bin/publish-nexus" ]
USER nonroot:nonroot