podman/docker: Run bash as login shell

To get bash to source /etc/profile and get the goodness of
/etc/profile/bash_completion.sh, run bash as a login shell.
This commit is contained in:
Michael Cardell Widerkrantz 2025-01-31 15:47:27 +01:00
parent a266a38faf
commit 2d5dfdc40f
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5

View file

@ -23,11 +23,11 @@ all:
run:
podman run --rm --mount type=bind,source="`pwd`/../",target=/build -w /build -it \
$(IMAGE) /usr/bin/bash
$(IMAGE) /usr/bin/bash -l
docker-run:
docker run --rm --mount type=bind,source="`pwd`/../",target=/build -w /build -it \
$(IMAGE) /usr/bin/bash
$(IMAGE) /usr/bin/bash -l
run-make:
podman run --rm --mount type=bind,source="`pwd`/../hw/application_fpga",target=/build -w /build -it \