diff --git a/git_debian_latest/Dockerfile b/git_debian_latest/Dockerfile new file mode 100644 index 0000000..d7ae4db --- /dev/null +++ b/git_debian_latest/Dockerfile @@ -0,0 +1,12 @@ +FROM debian:latest + +ARG U_NAME="user" +ARG U_ID="1000" +RUN adduser --disabled-password --gecos '' --uid ${U_ID} ${U_NAME} + +RUN apt-get update && apt-get install -y \ + git \ + && rm -rf /var/lib/apt/lists/* + +WORKDIR /home/${U_NAME} +USER ${U_NAME} diff --git a/setup_pulse.sh b/setup_pulse.sh old mode 100644 new mode 100755 index 01a8f2b..cfa62c8 --- a/setup_pulse.sh +++ b/setup_pulse.sh @@ -1,9 +1,8 @@ #!/bin/bash set -e -# !! -sudo rm -rf /tmp/pulseaudio.socket && true -sudo rm -rf /tmp/pulseaudio.client.conf && true +rm -rf /tmp/pulseaudio.socket || true +rm -rf /tmp/pulseaudio.client.conf || true pactl load-module module-native-protocol-unix socket=/tmp/pulseaudio.socket