Skip to content

Commit

Permalink
chore: try with platform
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed May 3, 2024
1 parent 655361e commit 5eb3d07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/backup-container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This image provides a postgres installation from which to run backups
FROM postgres:15.6-bullseye

FROM --platform=linux/amd64 postgres:15.6-bullseye
# FROM --platform=linux/amd64 rhel9/postgresql-15:latest
# Change timezone to PST for convenience
ENV TZ=PST8PDT

Expand Down Expand Up @@ -45,7 +45,7 @@ RUN echo $TZ > /etc/timezone

# see if this runs
# Important - Reset to the base image's user account.
# USER 26
USER 26

# Set the default CMD.
CMD sh /backup.sh

0 comments on commit 5eb3d07

Please sign in to comment.