summaryrefslogtreecommitdiff
path: root/docker/android-emulator
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2021-08-02 23:16:02 +0200
committercyberta <cyberta@riseup.net>2021-08-02 23:16:02 +0200
commitf7e3428d40ada6a482f5c1b02a299d1f92a29be6 (patch)
tree8efa339d148eef65cab6d6ba21f15513f7de8cd8 /docker/android-emulator
parenta5f118a494ad3f8959a1790f7674376885b650c3 (diff)
try to install docker according to the docs
Diffstat (limited to 'docker/android-emulator')
-rw-r--r--docker/android-emulator/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/docker/android-emulator/Dockerfile b/docker/android-emulator/Dockerfile
index 09bc99de..d5349da1 100644
--- a/docker/android-emulator/Dockerfile
+++ b/docker/android-emulator/Dockerfile
@@ -15,8 +15,10 @@ ENV ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
RUN apt-get update -qq && \
apt-get -y dist-upgrade && \
apt-get -y install gnupg apt-transport-https
-RUN echo 'deb https://download.docker.com/linux/debian debian-stretch stable' > /etc/apt/sources.list.d/docker.list && \
- curl -s https://download.docker.com/linux/debian/gpg | apt-key add -
+RUN curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
+ echo \
+ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
+ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update -qq && \
apt-get -y install docker-engine mesa-utils && \
apt-get clean && \