Skip to content

Commit

Permalink
Refactor Dockerfiles to pin to linux/amd64 platform (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mre authored Oct 28, 2024
1 parent 3faa94d commit be10b8a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:3.11-slim-bullseye
# syntax=docker/dockerfile:1
# Pin to linux/amd64 as we deploy to x86_64 servers
FROM --platform=linux/amd64 python:3.11-slim-bullseye

# Install cron and gpg for decrypting data fetched from db
RUN apt-get update \
Expand Down
4 changes: 3 additions & 1 deletion anchor/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:3.11-slim-bullseye
# syntax=docker/dockerfile:1
# Pin to linux/amd64 as we deploy to x86_64 servers
FROM --platform=linux/amd64 python:3.11-slim-bullseye

# Install cron
RUN apt-get update \
Expand Down
4 changes: 3 additions & 1 deletion apple/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:3.11-slim-bullseye
# syntax=docker/dockerfile:1
# Pin to linux/amd64 as we deploy to x86_64 servers
FROM --platform=linux/amd64 python:3.11-slim-bullseye

# Install cron
RUN apt-get update \
Expand Down
4 changes: 3 additions & 1 deletion spotify/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:3.11-slim-bullseye
# syntax=docker/dockerfile:1
# Pin to linux/amd64 as we deploy to x86_64 servers
FROM --platform=linux/amd64 python:3.11-slim-bullseye

# Install cron
RUN apt-get update \
Expand Down

0 comments on commit be10b8a

Please sign in to comment.