1
0
woodpecker-yc-autoscaler/Dockerfile.ci
2024-07-30 00:54:43 +03:00

16 lines
311 B
Docker

ARG TARGET_PLATFORM
ARG BASE_IMAGE
FROM --platform=${TARGET_PLATFORM} ${BASE_IMAGE}
ARG PLATFORM_SUFFIX
COPY /dist/woodpecker-yc-autoscaler${PLATFORM_SUFFIX} /bin/woodpecker-yc-autoscaler
ENV GOMAXPROCS=4 \
MALLOC_ARENA_MAX=4
ENTRYPOINT [ "/bin/woodpecker-yc-autoscaler" ]
CMD [ ]
USER nonroot:nonroot