From 399279a088a6fbd2d29e5bb48a2ec83edbbaa13d Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Wed, 14 Jul 2021 15:31:21 +0700 Subject: [PATCH] Updated and hide build root --- .github/workflows/main.yml | 2 +- Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d66efa0..b60dffe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,4 +12,4 @@ jobs: - name: Starter Docker Yarn Test uses: cubetiq/starter-docker-yarn-actions@main with: - run: docker version; node --version; npm --version; npx --version; yarn --version + run: docker version diff --git a/Dockerfile b/Dockerfile index bc85022..9540374 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM cubetiq/calpine-docker:latest LABEL maintainer="sombochea@cubetiqs.com" # Build with root access -USER root +# USER root ENV NODE_VERSION 14.16.0 ENV USER_UID 1001 @@ -71,7 +71,6 @@ RUN addgroup -g ${USER_UID} node \ fi \ && rm -f "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" \ && apk del .build-deps \ - # smoke tests && node --version \ && npm --version