aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul B <paul@bonaud.fr>2018-10-26 12:17:16 +0200
committerPaul B <paul@bonaud.fr>2018-10-26 12:17:16 +0200
commit95f6e23275ab454f08ac2d01c08b78e9ce06fbf4 (patch)
treefca5cef8119bc49d559007b8f9404bf10426366b
parent89f0519e224b69c975d16cc27f0ded89a515dfb3 (diff)
downloaddocker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.tar.gz
docker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.tar.zst
docker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.zip
dockerfile(entrypoint): use "login shell" in all bash commandsupdate-entrypoint
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 5841614..8b7c44d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,3 +23,4 @@ RUN cd && wget https://nixos.org/releases/nix/nix-$NIX_VERSION/nix-$NIX_VERSION-
23ENV ENV="/home/nixuser/.nix-profile/etc/profile.d/nix.sh" 23ENV ENV="/home/nixuser/.nix-profile/etc/profile.d/nix.sh"
24RUN ln -s ${ENV} ${HOME}/.profile 24RUN ln -s ${ENV} ${HOME}/.profile
25SHELL ["/usr/bin/env", "bash", "-l", "-c"] 25SHELL ["/usr/bin/env", "bash", "-l", "-c"]
26ENTRYPOINT ["/usr/bin/env", "bash", "-l", "-c"]