Skip to content

Commit

Permalink
Merge pull request #4 from ScilifelabDataCentre/DRH-135-more-monkeyin…
Browse files Browse the repository at this point in the history
…g-around

[DRH-135] More monkeying around.
  • Loading branch information
reutenauer authored Sep 11, 2023
2 parents a0ea2c8 + 284bbdc commit f82343d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ 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 echo 'seek-user:x:1000:1000:,,,:/home/s:/bin/bash' >>/etc/passwd
RUN echo 'seek-user:$y$j9T$WvUczvUD4jaiAhEdlNpo/.$tfjvhSmdwNCfPWO4yjm.ORfqAZ3L0Tk0b6wHbtS7udC:19611:0:99999:7:::' >>/etc/shadow

USER www-data

# Network
Expand Down
3 changes: 0 additions & 3 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
# DB config
check_mysql

# AR 2023-09-11. TODO Delete later!
./docker/upgrade.sh

# Search
start_search

Expand Down

0 comments on commit f82343d

Please sign in to comment.