From b4ed482404bd62e2c38f5b42b23d9b1ead47483a Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Wed, 14 Jul 2021 14:47:15 +0700 Subject: [PATCH] add root for build in docker --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 935460a..8b243e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ FROM cubetiq/calpine-os-linux:latest LABEL maintainer="sombochea@cubetiqs.com" +# Build with root access +USER root + RUN apk add --no-cache \ ca-certificates \ openssh-client