Skip to content

Commit

Permalink
Add podman to kube-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
tnozicka committed Jun 22, 2023
1 parent 28d9103 commit b5fad3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ build:
$(call build-image,./golang/1.18,$(REPO):golang-1.18,$(REPO):base-ubuntu-22.04)
$(call build-image,./golang/1.19,$(REPO):golang-1.19,$(REPO):base-ubuntu-22.04)
$(call build-image,./golang/1.20,$(REPO):golang-1.20,$(REPO):base-ubuntu-22.04)
$(call build-image,./kube-tools/latest,$(REPO):kube-tools,$(REPO):golang-1.20)
$(call build-image,./kube-tools/latest,$(REPO):kube-tools,)
$(call build-image,./node-setup,$(REPO):node-setup,$(REPO):base-ubuntu-22.04)
.PHONY: build

Expand Down
8 changes: 4 additions & 4 deletions kube-tools/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM to-be-replaced-by-local-ref/golang:1.20
FROM quay.io/podman/stable:v4.5

RUN set -euExo pipefail && shopt -s inherit_errexit && \
apt-get update && \
apt-get install -y --no-install-recommends rsync && \
apt-get clean && \
dnf install -y rsync git make tar gzip golang && \
dnf clean all && \
go install github.com/mikefarah/yq/v4@v4.34.1 && \
mkdir -p /go/src/k8s.io/ && \
cd /go/src/k8s.io/ && \
git clone --depth=1 --branch v1.27.3 https://github.com/kubernetes/kubernetes.git && \
Expand Down

0 comments on commit b5fad3b

Please sign in to comment.