Skip to content

Commit

Permalink
chore: upgrade underlying debian version (#11472)
Browse files Browse the repository at this point in the history
Debian `stable` has moved from buster (10) to bullseye (11).

Swapping out the underlying Debian version provides us with acces to
newer package dependencies, specifically: gcc 8.3 => 10.2

Refs: https://www.debian.org/releases/bullseye/
Refs: https://www.debian.org/releases/bullseye/amd64/release-notes/ch-whats-new.en.html#newdistro

Signed-off-by: Mike Fiedler <[email protected]>
  • Loading branch information
miketheman authored Jun 1, 2022
1 parent 4e236ad commit 8406057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# our static assets with. It is important that the steps in this remain the
# same as the steps in Dockerfile.static, EXCEPT this may include additional
# steps appended onto the end.
FROM node:14.19.1 as static
FROM node:14.19.1-bullseye as static

WORKDIR /opt/warehouse/src/

Expand Down Expand Up @@ -44,7 +44,7 @@ RUN gulp dist

# Now we're going to build our actual application, but not the actual production
# image that it gets deployed into.
FROM python:3.10.4-slim-buster as build
FROM python:3.10.4-slim-bullseye as build

# Define whether we're building a production or a development image. This will
# generally be used to control whether or not we install our development and
Expand Down Expand Up @@ -112,7 +112,7 @@ RUN set -x \

# Now we're going to build our actual application image, which will eventually
# pull in the static files that were built above.
FROM python:3.10.4-slim-buster
FROM python:3.10.4-slim-bullseye

# Setup some basic environment variables that are ~never going to change.
ENV PYTHONUNBUFFERED 1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.static
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.19.1 as static
FROM node:14.19.1-bullseye as static

WORKDIR /opt/warehouse/src/

Expand Down

0 comments on commit 8406057

Please sign in to comment.