diff update/Dockerfile @ 4:a248c94091e7

get updater working BAMN
author drewp@bigasterisk.com
date Thu, 16 Mar 2023 18:11:02 -0700
parents 781290b4a683
children 07aa4c3cddc4
line wrap: on
line diff
--- a/update/Dockerfile	Thu Mar 16 18:09:55 2023 -0700
+++ b/update/Dockerfile	Thu Mar 16 18:11:02 2023 -0700
@@ -1,5 +1,12 @@
 FROM bang5:5000/base_basic
 WORKDIR /opt
+RUN apt install -y python3-atomicwrites
+
+
+# from /my/proj/infra/kube.py
+RUN curl -L -o ./kubectl https://github.com/rancher/k3s/releases/download/v1.24.3+k3s1/k3s
+RUN chmod +x kubectl
+
 COPY update.sh ./
 
 CMD ["./update.sh"]
\ No newline at end of file