1 FROM ghcr.io/maxking/mailman-ci-runner:latest
5 RUN apt install -yq --no-install-recommends curl gpg \
13 # https://docs.docker.com/engine/install/ubuntu/
14 RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \
15 && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
16 $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \
18 && apt install -yq --no-install-recommends docker-ce docker-ce-cli containerd.io \
21 /var/cache/debconf/* \
22 /var/lib/apt/lists/* \
26 RUN curl -o /usr/bin/slirp4netns -fsSL https://github.com/rootless-containers/slirp4netns/releases/download/v1.1.12/slirp4netns-$(uname -m) \
27 && chmod +x /usr/bin/slirp4netns
29 RUN curl -o /usr/local/bin/docker-compose -fsSL https://github.com/docker/compose/releases/download/v2.4.1/docker-compose-linux-$(uname -m) \
30 && chmod +x /usr/local/bin/docker-compose && mkdir -p /usr/local/lib/docker/cli-plugins && \
31 ln -s /usr/local/bin/docker-compose /usr/local/lib/docker/cli-plugins/docker-compose
33 # https://github.com/wagoodman/dive
34 RUN curl -o /tmp/dive.deb -fsSL https://github.com/wagoodman/dive/releases/download/v0.10.0/dive_0.10.0_linux_amd64.deb \
35 && apt install /tmp/dive.deb \
38 RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod