From 204f5ba6359c460fe0108b8ba60ee7e872d8aea2 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Wed, 16 Oct 2024 19:08:23 +0200 Subject: [PATCH] Revert "Fix code linter error" This reverts commit 96d9d05b1313be8b60674e76313abbdcbb862b29. The commit must be reverted because it causes consistent job submission failures with error: CannotStartContainerError: Error response from daemon: unable to find user root ENTRYPOINT [/parallelcluster/bin/entrypoint.sh]: no matching entries in passwd file --- cli/src/pcluster/resources/batch/docker/alinux2/Dockerfile | 2 +- cli/src/pcluster/resources/batch/docker/alinux2023/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/pcluster/resources/batch/docker/alinux2/Dockerfile b/cli/src/pcluster/resources/batch/docker/alinux2/Dockerfile index d06a1c1855..6e1e544039 100644 --- a/cli/src/pcluster/resources/batch/docker/alinux2/Dockerfile +++ b/cli/src/pcluster/resources/batch/docker/alinux2/Dockerfile @@ -57,4 +57,4 @@ ENV PATH "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib6 # expose ssh port EXPOSE 22 -USER root ENTRYPOINT ["/parallelcluster/bin/entrypoint.sh"] +ENTRYPOINT ["/parallelcluster/bin/entrypoint.sh"] diff --git a/cli/src/pcluster/resources/batch/docker/alinux2023/Dockerfile b/cli/src/pcluster/resources/batch/docker/alinux2023/Dockerfile index 38c0d5b00b..39ad5dceba 100644 --- a/cli/src/pcluster/resources/batch/docker/alinux2023/Dockerfile +++ b/cli/src/pcluster/resources/batch/docker/alinux2023/Dockerfile @@ -57,4 +57,4 @@ ENV PATH "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib6 # expose ssh port EXPOSE 22 -USER root ENTRYPOINT ["/parallelcluster/bin/entrypoint.sh"] +ENTRYPOINT ["/parallelcluster/bin/entrypoint.sh"]