From 1e1a4a71e43ca3013bd28ac7a1250407ee796474 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 17 Jan 2025 03:00:53 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-NGHTTP2-6043732 - https://snyk.io/vuln/SNYK-ALPINE316-SQLITE-6179509 - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 - https://snyk.io/vuln/SNYK-ALPINE316-CURL-6104859 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile old mode 100755 new mode 100644 index 18971b7596..739a0f5d0e --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN composer update --ignore-platform-reqs --optimize-autoloader \ --no-plugins --no-scripts --prefer-dist \ `if [ "$TESTING" != "true" ]; then echo "--no-dev"; fi` -FROM php:8.0-cli-alpine as compile +FROM php:8.4.3RC1-cli-alpine as compile ARG DEBUG=false ENV DEBUG=$DEBUG @@ -100,7 +100,7 @@ RUN \ ./configure && \ make && make install -FROM php:8.0-cli-alpine as final +FROM php:8.4.3RC1-cli-alpine as final LABEL maintainer="team@appwrite.io"