File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,18 @@ RUN apt-get update && apt-get install -y \
3838WORKDIR /opt/TangoService/Tango/
3939
4040# Install Docker from Docker Inc. repositories.
41- RUN curl -sSL https://get.docker.com/ -o get_docker.sh && sh get_docker.sh
41+ RUN set -eux; \
42+ apt-get update; \
43+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl gnupg; \
44+ install -m 0755 -d /etc/apt/keyrings; \
45+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc; \
46+ chmod a+r /etc/apt/keyrings/docker.asc; \
47+ . /etc/os-release; \
48+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu ${VERSION_CODENAME} stable" > /etc/apt/sources.list.d/docker.list; \
49+ apt-get update; \
50+ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
51+ docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin; \
52+ apt-get clean; rm -rf /var/lib/apt/lists/*
4253
4354# Install the magic wrapper.
4455ADD ./wrapdocker /usr/local/bin/wrapdocker
You can’t perform that action at this time.
0 commit comments