diff options
author | Paul B <paul@bonaud.fr> | 2018-10-26 12:17:16 +0200 |
---|---|---|
committer | Paul B <paul@bonaud.fr> | 2018-10-26 12:17:16 +0200 |
commit | 95f6e23275ab454f08ac2d01c08b78e9ce06fbf4 (patch) | |
tree | fca5cef8119bc49d559007b8f9404bf10426366b /Dockerfile | |
parent | 89f0519e224b69c975d16cc27f0ded89a515dfb3 (diff) | |
download | docker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.tar.gz docker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.tar.zst docker-nix-95f6e23275ab454f08ac2d01c08b78e9ce06fbf4.zip |
dockerfile(entrypoint): use "login shell" in all bash commandsupdate-entrypoint
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,3 +23,4 @@ RUN cd && wget https://nixos.org/releases/nix/nix-$NIX_VERSION/nix-$NIX_VERSION- | |||
23 | ENV ENV="/home/nixuser/.nix-profile/etc/profile.d/nix.sh" | 23 | ENV ENV="/home/nixuser/.nix-profile/etc/profile.d/nix.sh" |
24 | RUN ln -s ${ENV} ${HOME}/.profile | 24 | RUN ln -s ${ENV} ${HOME}/.profile |
25 | SHELL ["/usr/bin/env", "bash", "-l", "-c"] | 25 | SHELL ["/usr/bin/env", "bash", "-l", "-c"] |
26 | ENTRYPOINT ["/usr/bin/env", "bash", "-l", "-c"] | ||