Compare commits
2 Commits
aeefcc4a7b
...
fefb4b3a17
| Author | SHA1 | Date | |
|---|---|---|---|
| fefb4b3a17 | |||
| 52d2cca438 |
@@ -1,5 +1,4 @@
|
||||
|
||||
FROM gitea/act_runner:0.2.13
|
||||
FROM gitea/act_runner:0.3.0
|
||||
|
||||
RUN echo "build started.." && \
|
||||
apk add --no-cache openssh-client curl ansible nodejs rclone rsync nodejs envsubst bash tar jq
|
||||
@@ -21,3 +20,44 @@ RUN HELM_VERSION=$(curl -s https://api.github.com/repos/helm/helm/releases/lates
|
||||
tar -zxvf helm.tar.gz && \
|
||||
mv linux-amd64/helm /usr/local/bin/helm && \
|
||||
rm -rf linux-amd64 helm.tar.gz
|
||||
|
||||
|
||||
RUN echo "build started.." && \
|
||||
apk add --no-cache openssh-client curl ansible nodejs rclone rsync nodejs envsubst bash tar jq
|
||||
|
||||
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
|
||||
RUN chmod +x ./kubectl
|
||||
RUN mv ./kubectl /usr/local/bin
|
||||
|
||||
|
||||
RUN curl -fsSL https://get.helm.sh/helm-v3.14.4-linux-amd64.tar.gz \
|
||||
-o helm.tar.gz && \
|
||||
tar -zxvf helm.tar.gz && \
|
||||
mv linux-amd64/helm /usr/local/bin/helm && \
|
||||
rm -rf linux-amd64 helm.tar.gz
|
||||
|
||||
|
||||
RUN HELM_VERSION=$(curl -s https://api.github.com/repos/helm/helm/releases/latest | jq -r .tag_name) && \
|
||||
curl -fsSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -o helm.tar.gz && \
|
||||
tar -zxvf helm.tar.gz && \
|
||||
mv linux-amd64/helm /usr/local/bin/helm && \
|
||||
rm -rf linux-amd64 helm.tar.gz
|
||||
|
||||
|
||||
### BUILD KID
|
||||
|
||||
ENV BUILDKIT_VERSION=v0.28.0
|
||||
|
||||
RUN apk add --no-cache \
|
||||
runc \
|
||||
fuse-overlayfs \
|
||||
iptables \
|
||||
shadow \
|
||||
util-linux \
|
||||
containerd
|
||||
|
||||
RUN curl -L "https://github.com/moby/buildkit/releases/download/${BUILDKIT_VERSION}/buildkit-${BUILDKIT_VERSION}.linux-amd64.tar.gz" \
|
||||
| tar -xz -C /usr/local \
|
||||
&& buildctl --version
|
||||
|
||||
###################
|
||||
Reference in New Issue
Block a user