-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removed the skip-installation flag from e2e test - updated test/e2e/BYOHDockerfile to exclude k8s components - added a few additional required packages to the Dockerfile - added a new dev-dockerfile to continue having the same experience in getting started and local-dev guides
- Loading branch information
Showing
6 changed files
with
40 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ARG BASE_IMAGE=ubuntu:20.04 | ||
FROM $BASE_IMAGE as build | ||
ARG TARGETARCH | ||
# install containerd | ||
RUN apt-get update \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
systemd conntrack iptables iproute2 ethtool socat util-linux mount \ | ||
ebtables kmod libseccomp2 pigz bash ca-certificates \ | ||
rsync nfs-common fuse-overlayfs containerd curl gnupg2 \ | ||
&& mkdir -p /etc/containerd \ | ||
&& containerd config default | tee /etc/containerd/config.toml \ | ||
&& ln -s "$(which systemd)" /sbin/init | ||
RUN systemctl enable containerd | ||
COPY kubernetes.list /etc/apt/sources.list.d/kubernetes.list | ||
RUN echo "Installing kubectl kubeadm kubelet" \ | ||
&& curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ | ||
&& apt-get update \ | ||
&& apt-get install -y linux-image-$(uname -r) \ | ||
&& apt-get install -y kubelet=1.22.3-00 kubeadm=1.22.3-00 kubectl=1.22.3-00 \ | ||
&& apt-mark hold containerd kubelet kubeadm kubectl \ | ||
&& apt-get clean \ | ||
&& systemctl enable kubelet.service \ | ||
&& systemctl enable containerd.service | ||
|
||
FROM scratch | ||
COPY --from=build / / | ||
|
||
ENTRYPOINT ["/sbin/init"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters