Commit 466dc171 authored by nimrod's avatar nimrod
Browse files

Set PATH in /etc/profile.

For whatever reason, setting the PATH environment variable in the
Dockerfile doesn't work (I'm pretty certain it's Bash, but I haven't
checked). Anyway, add it to /etc/profile to handle it another way.
parent b19b0e2d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -251,6 +251,7 @@ RUN apt-get update && \
    wget https://github.com/mrolli/packer-bash-completion/raw/master/packer -O /etc/bash_completion.d/packer && \
    mkdir /etc/krb5.conf.d && \
    echo 'VARIANT_ID=container' >> /etc/os-release && \
    echo "export PATH=$GOPATH/bin:\$PATH" > /etc/profile.d/workbench.sh && \
    touch /etc/localtime && \
    # pragma: allowlist nextline secret
    sed -i -e 's/ ALL$/ NOPASSWD:ALL/' /etc/sudoers && \