From 086c1db97c56a596794056c37c7b95459bba53b1 Mon Sep 17 00:00:00 2001 From: Jeremiah Hansen Date: Thu, 7 Mar 2024 17:00:41 -0700 Subject: [PATCH] another attempt at dockerfile perms --- .devcontainer/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0e8fa26..99ae194 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -5,11 +5,9 @@ WORKDIR /home/vscode # Configure SnowSQL RUN mkdir .snowflake -COPY .devcontainer/config.toml .snowflake -COPY .devcontainer/connections.toml .snowflake -RUN chown vscode .snowflake/config.toml \ - && chown vscode .snowflake/connections.toml \ - && chmod 0600 .snowflake/config.toml \ +COPY --chown=vscode:vscode .devcontainer/config.toml .snowflake +COPY --chown=vscode:vscode .devcontainer/connections.toml .snowflake +RUN chmod 0600 .snowflake/config.toml \ && chmod 0600 .snowflake/connections.toml # Create the conda environment