Skip to content

Commit b157918

Browse files
committed
tools: set env var to check if from docker
Signed-off-by: Ramon Roche <[email protected]>
1 parent d841f24 commit b157918

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Tools/setup/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ENV LC_ALL=C.UTF-8
88
ENV DISPLAY=:99
99
ENV TERM=xterm
1010
ENV TZ=UTC
11-
ENV QEMU_CPU=max,pauth-impdef=on
1211
ENV RUNS_IN_DOCKER=true
1312

1413
# SITL UDP PORTS

Tools/setup/ubuntu.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo "[ubuntu.sh] Starting..."
3131
echo "[ubuntu.sh] arch: $INSTALL_ARCH"
3232

3333
# detect if running in docker
34-
if [ -z "$RUNS_IN_DOCKER" ]; then
34+
if [ "$RUNS_IN_DOCKER" = "true" ]; then
3535
echo "[ubuntu.sh] Running within docker, installing initial dependencies";
3636
apt-get --quiet -y update && DEBIAN_FRONTEND=noninteractive apt-get --quiet -y install \
3737
ca-certificates \

0 commit comments

Comments
 (0)