chore: ci workflow(round3) and Dockerfile update (#1542)
This commit is contained in:
committed by
GitHub
parent
bf8ccbcec6
commit
7e54f40033
@@ -1,4 +1,4 @@
|
||||
FROM portainer/base as production
|
||||
FROM portainer/base AS production
|
||||
|
||||
LABEL org.opencontainers.image.title="Portainer" \
|
||||
org.opencontainers.image.description="Docker container management made simple, with the world’s most popular GUI-based container management platform." \
|
||||
@@ -27,7 +27,17 @@ EXPOSE 9000
|
||||
EXPOSE 9443
|
||||
EXPOSE 8000
|
||||
|
||||
LABEL io.portainer.server true
|
||||
ARG GIT_COMMIT=unspecified
|
||||
ARG BUILD_DATE=unspecified
|
||||
LABEL git_commit=$GIT_COMMIT \
|
||||
org.opencontainers.image.revision=$GIT_COMMIT \
|
||||
org.opencontainers.image.created=$BUILD_DATE \
|
||||
org.opencontainers.image.title="Portainer CE" \
|
||||
org.opencontainers.image.description="Portainer Community Edition server." \
|
||||
org.opencontainers.image.vendor="Portainer.io" \
|
||||
org.opencontainers.image.url="https://www.portainer.io" \
|
||||
org.opencontainers.image.documentation="https://docs.portainer.io" \
|
||||
io.portainer.server="true"
|
||||
|
||||
ENTRYPOINT ["/portainer"]
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM alpine:latest as production
|
||||
FROM alpine:latest AS production
|
||||
|
||||
LABEL org.opencontainers.image.title="Portainer" \
|
||||
org.opencontainers.image.description="Docker container management made simple, with the world’s most popular GUI-based container management platform." \
|
||||
@@ -27,7 +27,17 @@ EXPOSE 9000
|
||||
EXPOSE 9443
|
||||
EXPOSE 8000
|
||||
|
||||
LABEL io.portainer.server true
|
||||
ARG GIT_COMMIT=unspecified
|
||||
ARG BUILD_DATE=unspecified
|
||||
LABEL git_commit=$GIT_COMMIT \
|
||||
org.opencontainers.image.revision=$GIT_COMMIT \
|
||||
org.opencontainers.image.created=$BUILD_DATE \
|
||||
org.opencontainers.image.title="Portainer CE" \
|
||||
org.opencontainers.image.description="Portainer Community Edition server." \
|
||||
org.opencontainers.image.vendor="Portainer.io" \
|
||||
org.opencontainers.image.url="https://www.portainer.io" \
|
||||
org.opencontainers.image.documentation="https://docs.portainer.io" \
|
||||
io.portainer.server="true"
|
||||
|
||||
ENTRYPOINT ["/portainer"]
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ARG OSVERSION
|
||||
FROM --platform=linux/amd64 gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-${OSVERSION} as core
|
||||
FROM --platform=linux/amd64 gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-${OSVERSION} AS core
|
||||
|
||||
FROM mcr.microsoft.com/windows/nanoserver:${OSVERSION} as production
|
||||
FROM mcr.microsoft.com/windows/nanoserver:${OSVERSION} AS production
|
||||
|
||||
COPY --from=core /Windows/System32/netapi32.dll /Windows/System32/netapi32.dll
|
||||
|
||||
@@ -19,6 +19,16 @@ EXPOSE 9000
|
||||
EXPOSE 9443
|
||||
EXPOSE 8000
|
||||
|
||||
LABEL io.portainer.server true
|
||||
ARG GIT_COMMIT=unspecified
|
||||
ARG BUILD_DATE=unspecified
|
||||
LABEL git_commit=$GIT_COMMIT \
|
||||
org.opencontainers.image.revision=$GIT_COMMIT \
|
||||
org.opencontainers.image.created=$BUILD_DATE \
|
||||
org.opencontainers.image.title="Portainer CE" \
|
||||
org.opencontainers.image.description="Portainer Community Edition server." \
|
||||
org.opencontainers.image.vendor="Portainer.io" \
|
||||
org.opencontainers.image.url="https://www.portainer.io" \
|
||||
org.opencontainers.image.documentation="https://docs.portainer.io" \
|
||||
io.portainer.server="true"
|
||||
|
||||
ENTRYPOINT ["/portainer.exe"]
|
||||
Reference in New Issue
Block a user