Skip to content

Commit 4513f68

Browse files
committed
chore(devcontainer): move gyb env to Dockerfile
1 parent 616f88f commit 4513f68

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
99
RUN useradd --create-home --shell /bin/bash $USER
1010

1111
USER $USER
12-
ENV PATH="$PATH:/home/$USER/.local/bin"
1312
RUN mkdir -p /home/$USER/.config/compiler-admin
13+
ENV PATH="$PATH:/home/$USER/.local/bin:/home/$USER/.config/compiler-admin/gyb"
1414
WORKDIR /home/$USER/compiler-admin
1515

1616
RUN python -m pip install --upgrade pip

.devcontainer/postAttach.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
set -eu
33

44
pre-commit install --install-hooks
5-
6-
echo -e "\nexport PATH=$PATH:/home/$USER/.config/compiler-admin/gyb" >> ~/.bashrc

0 commit comments

Comments
 (0)