From 924112c32335c533c6d18aae5616cf7655df10e0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 16 Apr 2024 11:55:38 -0400 Subject: [PATCH] update dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9368267..4a3ec4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,13 @@ RUN go build -o /assets/task ./cmd/task RUN go build -o /assets/build ./cmd/build FROM ${base_image} AS task +RUN apt update && apt upgrade -y RUN apt-get install -y wget runc RUN wget https://github.com/moby/buildkit/releases/download/v0.13.1/buildkit-v0.13.1.linux-amd64.tar.gz RUN tar xvf buildkit-v0.13.1.linux-amd64.tar.gz COPY --from=builder /assets/task /usr/bin/ COPY --from=builder /assets/build /usr/bin/ COPY bin/setup-cgroups /usr/bin/ -ENTRYPOINT [ "task" ] +ENTRYPOINT ["task"] FROM task