Aleksey Karpov
107cb7f549
Adding checksum verification kubectl ( #9963 )
* Adding checksum verification kubectl
Added checksum check of binary file, added PYTHONDONTWRITEBYTECODE variable to improve stability of pip after installing packages and deleting cache, added --no-compile switch to pip package installation to improve performance after deleting cache.
* Update Dockerfile
1 year ago
Maxime Leroy
b7fe368469
feat(Dockerfile): openssh-client support ( #9835 )
1 year ago
Jack
f366863a99
Add rsync in Dockerfile ( #9839 )
1 year ago
Aleksey Karpov
d908e86590
Reducing the number of layers and commands ( #9822 )
1 year ago
Aleksey Karpov
75b07ad40c
Reducing the image size ( #9810 )
1 year ago
DRAGON2002
fa92d9c0e9
feature: add vim to kubespray docker image ( #9805 )
* install nano/vi/vim
Signed-off-by: Anant Vijay <anantvijay3@gmail.com>
* update Dockerfile
Signed-off-by: Anant Vijay <anantvijay3@gmail.com>
---------
Signed-off-by: Anant Vijay <anantvijay3@gmail.com>
1 year ago
Kenichi Omichi
3c2eb52828
Copy contrib/ to Dockerfile ( #9774 )
Since Kubespray v2.21.0, the commit a98ab40434
removes copying
contrib/ accidentaly. The contrib/ contains useful tools like offline
tools etc. This adds the contrib/ to Dockerfile again.
1 year ago
Florian Ruynat
6881398941
Add ruamel.yaml to docker image ( #9707 )
1 year ago
Florian Ruynat
eb56130433
Add jmespath back to Dockerfile image ( #9697 )
1 year ago
Luke Simmons
a98ab40434
Adds pipeline image ( #9606 )
1 year ago
蒋航
f6159c5677
Update Dockerfile base image ( #8975 )
Signed-off-by: hang.jiang <hang.jiang@daocloud.io>
2 years ago
ERIK
90289b8502
add arch var in dockerfile ( #8875 )
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
2 years ago
Florian Ruynat
aef5f1e139
Add tz to kubespray image
2 years ago
Cristian Calin
5e67ebeb9e
[container image] use focal (ubuntu 20.04) base image for our docker builds ( #8631 )
2 years ago
Florian Ruynat
1161326b54
Add unzip to dockerfile, used in CI
3 years ago
Florian Ruynat
b54cf5bd0a
Add git to kubespray image
3 years ago
Olivier Clavel
425b6741c6
Fix failed image build on pip installing ansible ( #7862 )
Related pip bug: https://stackoverflow.com/questions/68687029/unable-to-build-kubespray-container-from-dockerfile
Proposed workaround in comment: https://github.com/pypa/pip/issues/10219#issuecomment-887337037
Setting LANG only prior to launching pip fixes the issue with a successful build
3 years ago
Pratik Raj
71af4b4a85
chore : use --no-cache-dir flag to pip in dockerfiles to save space ( #7898 )
using --no-cache-dir flag in pip install ,make sure downloaded packages
by pip don't cached on system . This is a best practice which make sure
to fetch from repo instead of using local cached one . Further , in case
of Docker Containers , by restricting caching , we can reduce image size.
In term of stats , it depends upon the number of python packages
multiplied by their respective size . e.g for heavy packages with a lot
of dependencies it reduce a lot by don't caching pip packages.
Further , more detail information can be found at
https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
3 years ago
muzi502
0feec14b15
Update Dockerfile for reduce image size ( #7556 )
* Update Dockerfile for reduce image size
* Remove KUBE_VERSION form Dockerfile
3 years ago
Florian Ruynat
1c0836946f
Update default Kubernetes version to 1.20.6
3 years ago
Florian Ruynat
6d9ed398e3
Set default k8s version to 1.20.5
3 years ago
Florian Ruynat
6334e4bd84
Set Kubernetes default version to 1.20.4
3 years ago
Florian Ruynat
7a033a1d55
Add hashes and update default K8S version to 1.20.2 ( #7171 )
3 years ago
Florian Ruynat
09fa99fdc6
Update hashes and set default version to 1.19.7 ( #7150 )
3 years ago
Florian Ruynat
0c995c1ea7
Remove last 1.19.5 references ( #7107 )
3 years ago
Anthony Rabbito
93445b4dbc
Update hashes and set default version to 1.19.5 ( #7012 )
* Update hashes and set default version to 1.19.5
Signed-off-by: anthr76 <hello@anthonyrabbito.com>
* Reorder hashes
1.19.5 hashes should be near 1.19.x
* Added back blank line
4 years ago
Christoph Stäbler
1a491fc10c
Update hashes and set default to 1.19.4 ( #6903 )
4 years ago
Florian Ruynat
60b0fb3e88
Update hashes and set default version to 1.19.3 ( #6841 )
4 years ago
Florian Ruynat
79226d0870
Add Kubernetes hashes 1.19.2/1.18.9/1.17.12 and set default ( #6698 )
4 years ago
Maxime Guyot
12f514f752
Update dockerfile for v1.19.1 ( #6668 )
4 years ago
Joel Seguillon
4c1e0b188d
Add .editorconfig file ( #6307 )
4 years ago
Florian Ruynat
72b68c7f82
Update spray version in ci/dockerfile ( #6041 )
4 years ago
Maxime Guyot
7d812f8112
Set LANG in Dockerfile ( #5929 )
4 years ago
Maxime Guyot
3dd51cd648
Add moreutils in Dockerfile ( #5839 )
4 years ago
Maxime Guyot
6ff5ccc938
Use kubespray/kubespray:v2.11.0 for CI ( #5363 )
5 years ago
Stanislav Makar
a36e9ae690
Add checksums for k8s 1.14.4 ( #4959 )
5 years ago
Edwin Jacques
0559eec681
Update Dockerfile to use python3 ( #4885 )
5 years ago
Sergey Nuzhdin
4d5c4a13cb
Add missing checksums, update default k8s version to 1.14.3 ( #4850 )
This PR adds missing checksums for kubeadm and hyperkube and changes
default version to 1.14.3
Signed-off-by: Sergey Nuzhdin <ipaq.lw@gmail.com>
5 years ago
Andreas Krüger
e029a09345
Update CI to use 2.10.0 release ( #4682 )
* Update CI to use 2.10.0 release
* Add rsync as it's required to use synchronize
5 years ago
Andreas Krüger
a678d1be9d
Update CI to use 2.9.0 release and update Dockerfile to now use 18.04 ( #4472 )
* Update CI to use 2.9.0 release and update Dockerfile to now use 18.04
* Update CI to use 2.9.0 release and update Dockerfile to now use 18.04
* Update the kubectl bin
5 years ago
Andreas Krüger
b38ed2c959
Update to Dockerfile used for releasing 2.8 and 2.8.1 ( #3966 )
5 years ago
SataQiu
72157a7514
fix typo: remove redundant space ( #3429 )
6 years ago
Antoine Legrand
c187ae22e5
Force to /usr/bin/python in CI
6 years ago
Antoine Legrand
51e695066a
Add dockerfile for the ci
6 years ago