From cc54836d36d874cb02f81dbeeaa0c9bae57ac3f5 Mon Sep 17 00:00:00 2001 From: hugoalh Date: Thu, 5 Sep 2024 18:20:52 +0800 Subject: [PATCH] Fix dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aaba7070..a870f1ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # syntax=docker/dockerfile:1 # IMPORTANT: Do not create big size layer due to GitHub Packages have worse performance on this! -FROM debian:12.7-slim as stage-base +FROM debian:12.7-slim AS stage-base ENV DEBIAN_FRONTEND=noninteractive ENV DENO_FUTURE=1 RUN apt-get --assume-yes update && apt-get --assume-yes dist-upgrade && apt-get --assume-yes install apt-utils -FROM stage-base as stage-extract-deno +FROM stage-base AS stage-extract-deno ARG DENO_VERSION=1.46.1 RUN apt-get --assume-yes install unzip ADD https://github.com/denoland/deno/releases/download/v${DENO_VERSION}/deno-x86_64-unknown-linux-gnu.zip /tmp/deno.zip