File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ ENV GOLANGCI_LINT_VERSION=v1.29.0
88# This is a huge one-liner to optimize the Docker image layer.
99# We disable source repos to speed up apt-get update.
1010RUN export DEBIAN_FRONTEND=noninteractive \
11+ # podman source list
12+ && echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list \
13+ && echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list \
14+ && curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | apt-key add - \
1115 && apt-get update \
12- && apt-get install -y lsb-release \
13- && curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
14- && echo "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee -a /etc/apt/sources.list.d/docker.list \
15- && apt-get update \
16+ && apt-get -y -t buster-backports install libseccomp2 \
1617 && apt-get upgrade -y --no-install-recommends \
1718 && apt-get install -y --no-install-recommends \
19+ lsb-release \
1820 bash \
1921 build-essential \
2022 ca-certificates \
@@ -39,7 +41,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
3941 zip \
4042 shellcheck \
4143 etcd \
42- docker-ce-cli \
44+ podman \
4345 && curl -o /usr/local/bin/kubectl \
4446 -L "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/$(dpkg --print-architecture)/kubectl" \
4547 && chmod +x /usr/local/bin/kubectl \
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ podman --storage-driver=vfs --events-backend=file $@
You can’t perform that action at this time.
0 commit comments