mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
9c981b0184
* Bump golang to 1.16.6 * Update to v1.21.3 Signed-off-by: Chris Kim <oats87g@gmail.com>
20 lines
333 B
Docker
20 lines
333 B
Docker
ARG GOLANG=golang:1.16.6-alpine3.13
|
|
FROM ${GOLANG}
|
|
|
|
COPY --from=plugins/manifest:1.2.3 /bin/* /bin/
|
|
|
|
RUN apk -U --no-cache add bash
|
|
|
|
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
|