Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
Signed-off-by: makhov <[email protected]>
  • Loading branch information
makhov committed Feb 17, 2022
1 parent 0ac38d3 commit e2c3a21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ ARG ARCH
FROM ${ARCH}alpine:3.15
ARG TARGETARCH

ADD docker-entrypoint.sh /entrypoint.sh
COPY ./k0s-${TARGETARCH}/k0s /usr/local/bin/k0s

RUN apk add --no-cache bash coreutils findutils curl tini

ENV KUBECONFIG=/var/lib/k0s/pki/admin.conf

ADD docker-entrypoint.sh /entrypoint.sh
COPY ./k0s-${TARGETARCH}/k0s /usr/local/bin/k0s

ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/entrypoint.sh" ]

Expand Down

0 comments on commit e2c3a21

Please sign in to comment.