From 81d012b1beaf810b6ddaf2dbf7e1f031656bac30 Mon Sep 17 00:00:00 2001 From: QuietKerb <31949217+QuietKerb@users.noreply.github.com> Date: Mon, 27 Apr 2020 21:52:38 +1000 Subject: [PATCH 1/2] fix(Dockerfile): install sudo sudo isn't installed by default on newer images of ubuntu fixes #19 --- images/ubuntu/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/ubuntu/Dockerfile b/images/ubuntu/Dockerfile index f585919..c768114 100644 --- a/images/ubuntu/Dockerfile +++ b/images/ubuntu/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER AshDev ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -y; apt-get upgrade -y -RUN apt-get install -y software-properties-common +RUN apt-get install -y software-properties-common sudo RUN add-apt-repository ppa:webupd8team/java -y RUN apt-get install -y curl openjdk-8-jdk supervisor pwgen RUN apt-get update && apt-get install -y wget git && apt-get clean all From 8e582a845dbf5dcb1e4ca73d1b70fa1f0fee20fa Mon Sep 17 00:00:00 2001 From: QuietKerb <31949217+QuietKerb@users.noreply.github.com> Date: Sun, 10 May 2020 00:01:15 +1000 Subject: [PATCH 2/2] fix(ubuntu/dockerfile): install sudo with apt --- images/ubuntu/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/ubuntu/Dockerfile b/images/ubuntu/Dockerfile index c768114..b7b2425 100644 --- a/images/ubuntu/Dockerfile +++ b/images/ubuntu/Dockerfile @@ -4,10 +4,11 @@ MAINTAINER AshDev ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -y; apt-get upgrade -y -RUN apt-get install -y software-properties-common sudo +RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:webupd8team/java -y RUN apt-get install -y curl openjdk-8-jdk supervisor pwgen RUN apt-get update && apt-get install -y wget git && apt-get clean all +RUN apt install sudo ENV APP_NAME=server #default directory for SPIGOT-server