Skip to content

Commit

Permalink
Merge pull request #8 from lpsinger/tunnel-home-dir
Browse files Browse the repository at this point in the history
Create home directory for 'tunnel' user
  • Loading branch information
dakota002 authored Sep 12, 2023
2 parents 68cc0db + 3ee0203 commit 074a5dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN \
# Nuke SSH host keys so that we regenerate them at container run time
rm /etc/ssh/ssh_host_* && \
# Create 'tunnel' user
adduser --system tunnel && \
adduser --system --home /home/tunnel tunnel && \
# Create runtime dir for sshd
mkdir /run/sshd

Expand Down
2 changes: 1 addition & 1 deletion test/client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM debian:stable-slim
RUN apt-get update && \
apt-get -y install --no-install-recommends openssh-client netcat-openbsd && \
rm -rf /var/lib/apt/lists/* && \
adduser --system clientuser
adduser --system --home /home/clientuser clientuser

COPY entrypoint.sh /

Expand Down

0 comments on commit 074a5dd

Please sign in to comment.