Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed Jul 26, 2024
1 parent a0c9b8b commit 2437f72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions jobs/refresh-db/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
command:
- /bin/entrypoint.sh
env:
- name: HOME
value: "/home/job"
- name: SRC_DB_NAME
valueFrom:
secretKeyRef:
Expand Down
5 changes: 1 addition & 4 deletions tools/db-utils/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ RUN apt-get install -y jq

# Create a non-root user and set the home directory
RUN useradd -u 999 -ms /bin/bash job
RUN mkdir /job
RUN chown -R job:job /job/
USER job

WORKDIR /job
WORKDIR /home/job

0 comments on commit 2437f72

Please sign in to comment.