Skip to content

Commit 1b7f327

Browse files
committed
chore(devcontainer): update base image to ubnutu 24.04
1 parent 70a68d6 commit 1b7f327

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT=ubuntu-22.04
1+
ARG VARIANT=ubuntu-24.04
22
FROM mcr.microsoft.com/vscode/devcontainers/base:${VARIANT}
33

44
ENV DEBIAN_FRONTEND=noninteractive
@@ -15,7 +15,8 @@ RUN git clone https://github.com/TinyTapeout/tt-support-tools /ttsetup/tt-suppor
1515
COPY test/requirements.txt /ttsetup/test_requirements.txt
1616
COPY .devcontainer/copy_tt_support_tools.sh /ttsetup
1717

18-
RUN pip3 install -r /ttsetup/test_requirements.txt -r /ttsetup/tt-support-tools/requirements.txt
18+
RUN python -m venv /ttsetup/venv
19+
RUN /ttsetup/venv/bin/pip install -r /ttsetup/test_requirements.txt -r /ttsetup/tt-support-tools/requirements.txt
1920

2021
# Install verible (for formatting)
2122
RUN umask 022 && \
@@ -24,4 +25,4 @@ RUN umask 022 && \
2425
chmod 755 /usr/local/bin
2526

2627
# Install LibreLane
27-
RUN pip3 install librelane==2.4.2
28+
RUN /ttsetup/venv/bin/pip install librelane==2.4.2

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
"dockerDashComposeVersion": "none"
2626
}
2727
},
28+
"postCreateCommand": "echo 'source /ttsetup/venv/bin/activate' >> ~/.bashrc",
2829
"postStartCommand": "/ttsetup/copy_tt_support_tools.sh"
2930
}

0 commit comments

Comments
 (0)