Skip to content

Commit

Permalink
dockerfile: make pyocd available in the container
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Apr 2, 2024
1 parent 79a03e8 commit f9f9116
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ make \
nano \
ninja-build \
openssh-client \
python3-dev \
python3-venv \
software-properties-common \
srecord \
Expand Down Expand Up @@ -124,7 +125,7 @@ ADD west.yml ${workspace_dir}/west.yml
RUN \
python3 -m venv ${workspace_dir}/.venv && \
. ${workspace_dir}/.venv/bin/activate && \
pip install west && \
pip install west pyocd && \
mkdir -p ${workspace_dir}/temp && \
cd ${workspace_dir}/temp && \
west init --mf ../west.yml -l . && \
Expand All @@ -141,4 +142,5 @@ alias mkc='make clean'
export MAKEFLAGS=-j$(nproc)
source ~/.git_branch_bash
source /etc/profile.d/opendeck-deps.sh
source ${workspace_dir}/.venv/bin/activate
EOF

0 comments on commit f9f9116

Please sign in to comment.