mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
Fix issues on WSL2 (#1988)
This commit is contained in:
@@ -19,7 +19,21 @@ RUN \
|
|||||||
xz-utils
|
xz-utils
|
||||||
|
|
||||||
# Install docker
|
# Install docker
|
||||||
RUN curl -fsSL https://get.docker.com | sh -
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
software-properties-common \
|
||||||
|
gpg-agent \
|
||||||
|
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
|
||||||
|
&& add-apt-repository "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
|
||||||
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
docker-ce \
|
||||||
|
docker-ce-cli \
|
||||||
|
containerd.io \
|
||||||
|
&& update-alternatives --set iptables /usr/sbin/iptables-legacy \
|
||||||
|
&& update-alternatives --set ip6tables /usr/sbin/iptables-legacy \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install shellcheck
|
# Install shellcheck
|
||||||
RUN \
|
RUN \
|
||||||
|
|||||||
Reference in New Issue
Block a user