@@ -123,8 +123,9 @@ RUN mkdir -p /usr/local/bin/python-bins/code-review-graph && \
|
|||||||
/usr/local/bin/python-bins/code-review-graph/bin/code-review-graph \
|
/usr/local/bin/python-bins/code-review-graph/bin/code-review-graph \
|
||||||
/usr/local/bin/code-review-graph
|
/usr/local/bin/code-review-graph
|
||||||
|
|
||||||
# Rustup is intended to remain writable by the development user.
|
# Rustup, Go dir is intended to remain writable by the development user.
|
||||||
RUN chown -R user:user /usr/local/rust
|
RUN chown -R user:user /usr/local/rust && \
|
||||||
|
chown -R user:user /home/user/go
|
||||||
|
|
||||||
USER user
|
USER user
|
||||||
WORKDIR /home/user
|
WORKDIR /home/user
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ export EDITOR=hx \
|
|||||||
SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock \
|
SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock \
|
||||||
CARGO_HOME=/usr/local/rust \
|
CARGO_HOME=/usr/local/rust \
|
||||||
RUSTUP_HOME=/usr/local/rust \
|
RUSTUP_HOME=/usr/local/rust \
|
||||||
GOPATH=/usr/local/go \
|
|
||||||
PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
||||||
TZ="Europe/Amsterdam" \
|
TZ="Europe/Amsterdam" \
|
||||||
SHELL="/bin/bash"
|
SHELL="/bin/bash"
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/bus"
|
|||||||
|
|
||||||
cmd="${0##*/}"
|
cmd="${0##*/}"
|
||||||
[[ "$cmd" == "host" ]] && unset cmd
|
[[ "$cmd" == "host" ]] && unset cmd
|
||||||
exec host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" ${cmd:+"$cmd"} "$@
|
exec host-spawn -cwd "${PWD/#$HOME/$HOST_HOME}" ${cmd:+"$cmd"} "$@"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user