Skip to content

Commit

Permalink
make ^C work on these runs
Browse files Browse the repository at this point in the history
this looks bigger than it needs to because the simple fix (add -t to docker run) breaks CI runs
  • Loading branch information
Habbie committed Dec 3, 2024
1 parent 97d4c94 commit ff58f1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/build-targets/Dockerfile.armel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ RUN apt-get -yy install \
pkg-config \
libssl-dev \
python3-pip \
xxd
xxd \
tini
RUN pip install --break-system-packages meson
RUN git config --global --add safe.directory '*' # this makes meson's vcs_tag() work
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/bin/sh"]
2 changes: 1 addition & 1 deletion scripts/build-targets/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
TARGET=$1
shift
docker run -v $(pwd):$(pwd) -w $(pwd) --rm voorkant-builder:$TARGET "$@"
docker run -i -v $(pwd):$(pwd) -w $(pwd) --rm voorkant-builder:$TARGET "$@"

0 comments on commit ff58f1f

Please sign in to comment.