k3s/Dockerfile.manifest

20 lines
334 B
Docker
Raw Normal View History

ARG GOLANG=golang:1.16.10-alpine3.13
FROM ${GOLANG}
2020-01-20 20:29:48 +00:00
COPY --from=plugins/manifest:1.2.3 /bin/* /bin/
RUN apk -U --no-cache add bash
2020-01-20 20:29:48 +00:00
ARG DOCKER_USERNAME
ENV DOCKER_USERNAME $DOCKER_USERNAME
ARG DOCKER_PASSWORD
ENV DOCKER_PASSWORD $DOCKER_PASSWORD
ARG DRONE_TAG
ENV DRONE_TAG $DRONE_TAG
COPY ./scripts/manifest /bin/
RUN manifest