Docker: use a entrypoint script (#1227)
In favor of `/etc/bash.bashrc`, which is only read for interactive shells.
This commit is contained in:
committed by
GitHub
parent
3bde060365
commit
e28e47659c
@@ -17,8 +17,8 @@ build: Dockerfile .TEST
|
||||
|
||||
test: test_dockerimage.sh .TEST
|
||||
# test as non-root
|
||||
docker run --rm -u `id -u`:`id -g` -w /emsdk/docker --net=host ${image_name}:${version} \
|
||||
bash $<
|
||||
# test fallback env variables by overriding the entrypoint
|
||||
docker run --rm -u `id -u`:`id -g` -w /emsdk/docker --net=host --entrypoint /bin/bash ${image_name}:${version} $<
|
||||
|
||||
push: .TEST
|
||||
docker push ${image_name}:${version}
|
||||
|
||||
Reference in New Issue
Block a user