Skip to content
Snippets Groups Projects
Verified Commit 1972b844 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fix dockerfile

parent 2a75669e
Branches
No related tags found
No related merge requests found
...@@ -2,11 +2,15 @@ ARG SDK_VERSION ...@@ -2,11 +2,15 @@ ARG SDK_VERSION
FROM k8r.eu/justjanne/android-sdk:$SDK_VERSION FROM k8r.eu/justjanne/android-sdk:$SDK_VERSION
RUN apt-get --quiet update --yes && \ RUN apt-get --quiet update --yes && \
apt-get --quiet install --yes python3 python3-lxml uidmap iptables apt-get --quiet install --yes python3 python3-lxml podman
WORKDIR /usr/local/bin ARG UID=1000
RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.3.tgz && tar -zxvf docker-*.tgz ARG GID=1000
RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-rootless-extras-20.10.3.tgz && tar -zxvf docker-rootless-extras*.tgz RUN mkdir /build && \
chown $UID:$GID /build && \
ARG XDG_RUNTIME_DIR=/root/.docker/run groupadd --gid ${GID} build && \
ARG DOCKER_HOST=unix:///root/.docker/run/docker.sock useradd --uid ${UID} --gid ${GID} --home /build build
WORKDIR /build
RUN podman system service -t 0 tcp:localhost:8880 &
ENV DOCKER_HOST=tcp://localhost:8880
ENV TESTCONTAINERS_RYUK_DISABLED=true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment