diff --git a/Dockerfile b/Dockerfile index 55e3583..8ff91f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,9 +27,9 @@ RUN apt-get update && apt-get -y install \ # openjdk-8-jdk # Install AdoptOpenJDK 8 - https://stackoverflow.com/a/59436618 -RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - +RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - RUN add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ -RUN apt-get update && sudo apt-get install adoptopenjdk-8-hotspot +RUN apt-get update && apt-get install adoptopenjdk-8-hotspot # Install Android SDK # Set up environment variables