From e3e6c88b7c1d1a614ae7546504089e1ed198b448 Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Fri, 22 Nov 2024 09:31:34 +0100 Subject: [PATCH] update teleport version to v17 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf52410..dac7b9d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y nginx wget unzip sudo curl php-imagick RUN curl https://apt.releases.teleport.dev/gpg \ -o /usr/share/keyrings/teleport-archive-keyring.asc RUN export VERSION_CODENAME=$ubuntu_codename && echo "deb [signed-by=/usr/share/keyrings/teleport-archive-keyring.asc] \ - https://apt.releases.teleport.dev/ubuntu ${VERSION_CODENAME?} stable/v16" \ + https://apt.releases.teleport.dev/ubuntu ${VERSION_CODENAME?} stable/v17" \ | tee /etc/apt/sources.list.d/teleport.list > /dev/null RUN apt-get update && apt-get install -y teleport @@ -35,6 +35,9 @@ RUN chown -R www-data:www-data /var/www/phpmyadmin && chmod 777 /var/www/phpmyad RUN rm -rf /var/www/phpmyadmin/composer.lock && rm -rf /var/www/phpmyadmin/package.json && rm -rf /phpMyAdmin-$phpmyadmin_version-all-languages +#Set sudo password neat of www-data to nothing +#RUN sh -c "echo 'www-data ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" + VOLUME /var/lib/mysql ENTRYPOINT ["docker-entrypoint.sh"]