Skip to content

Commit

Permalink
[DRH-136] Revert changes for remote access; a more stable solution is…
Browse files Browse the repository at this point in the history
… forthcoming.
  • Loading branch information
reutenauer committed Sep 13, 2023
1 parent b2e825e commit 403da20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ RUN curl -fsSLO "$SUPERCRONIC_URL" \
# Cleanup and remove default nginx index page
RUN rm -rf /tmp/* /var/tmp/* /usr/share/nginx/html/index.html

# Adding a user directly
RUN addgroup seek-user
RUN echo 'seek-user:x:1000:1000:,,,:/home/seek-user:/bin/bash' >>/etc/passwd
RUN echo 'seek-user:$y$j9T$WvUczvUD4jaiAhEdlNpo/.$tfjvhSmdwNCfPWO4yjm.ORfqAZ3L0Tk0b6wHbtS7udC:19611:0:99999:7:::' >>/etc/shadow
RUN mkdir -p /home/seek-user && $(umask 077 && mkdir /home/seek-user/.ssh && chown seek-user:seek-user /home/seek-user/.ssh)
COPY docker/id_rsa.pub /home/seek-user/.ssh
RUN addgroup seek-user sudo

USER www-data

# Network
Expand Down
1 change: 0 additions & 1 deletion docker/id_rsa.pub

This file was deleted.

0 comments on commit 403da20

Please sign in to comment.