Hi all,
I see inconsistent result when I run
"postCreateCommand": "git config --global user.signingkey /home/mambauser/.ssh/id_ed25519.pub"
to redirect my keys to docker folder. All other global configurations (which are moved to docker automatically) are not in container. This does not happen if I change it to postStartCommand. I would expect that result would be the same. Simplified devcontainer.json where it happens is here:
FROM mambaorg/micromamba
ARG MAMBA_DOCKERFILE_ACTIVATE=1
RUN micromamba config append channels conda-forge
# Install Git
USER root
RUN apt-get update && apt-get install -y git
USER $MAMBA_USER
Hi all, I see inconsistent result when I run
"postCreateCommand": "git config --global user.signingkey /home/mambauser/.ssh/id_ed25519.pub"
to redirect my keys to docker folder. All other global configurations (which are moved to docker automatically) are not in container. This does not happen if I change it topostStartCommand
. I would expect that result would be the same. Simplified devcontainer.json where it happens is here:and the dockerfile: