This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
FROM gitea/act_runner:0.2.11
|
FROM gitea/act_runner:0.2.13
|
||||||
|
|
||||||
|
|
||||||
RUN echo "build started.."
|
RUN echo "build started.."
|
||||||
|
|
||||||
@@ -9,10 +8,15 @@ apk add --no-cache openssh-client && \
|
|||||||
apk add --no-cache curl && \
|
apk add --no-cache curl && \
|
||||||
apk add --no-cache ansible && \
|
apk add --no-cache ansible && \
|
||||||
apk add --no-cache nodejs && \
|
apk add --no-cache nodejs && \
|
||||||
|
apk add --no-cache rclone && \
|
||||||
|
apk add --no-cache rsync && \
|
||||||
|
apk add --no-cache nodejs && \
|
||||||
rm -rf /tmp/* && \
|
rm -rf /tmp/* && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN mkdir /ansible && \
|
#download latest stable version of kubectl
|
||||||
mkdir -p /etc/ansible && \
|
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||||
echo 'localhost' > /etc/ansible/hosts
|
RUN chmod +x ./kubectl
|
||||||
|
RUN mv ./kubectl /usr/local/bin
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user