Use the newer stable version of Debian (#561)

This commit is contained in:
Jonatan Kłosko 2021-09-23 19:26:04 +02:00 committed by GitHub
parent fad9301ad4
commit 4479256c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# Stage 1 # Stage 1
# Builds the Livebook release # Builds the Livebook release
FROM hexpm/elixir:1.12.3-erlang-24.0.6-debian-buster-20210902-slim AS build FROM hexpm/elixir:1.12.3-erlang-24.0.6-debian-bullseye-20210902-slim AS build
RUN apt-get update && apt-get upgrade -y && \ RUN apt-get update && apt-get upgrade -y && \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \
@ -37,7 +37,7 @@ RUN mix do compile, release
# We use the same base image, because we need Erlang, Elixir and Mix # We use the same base image, because we need Erlang, Elixir and Mix
# during runtime to spawn the Livebook standalone runtimes. # during runtime to spawn the Livebook standalone runtimes.
# Consequently the release doesn't include ERTS as we have it anyway. # Consequently the release doesn't include ERTS as we have it anyway.
FROM hexpm/elixir:1.12.3-erlang-24.0.6-debian-buster-20210902-slim FROM hexpm/elixir:1.12.3-erlang-24.0.6-debian-bullseye-20210902-slim
RUN apt-get update && apt-get upgrade -y && \ RUN apt-get update && apt-get upgrade -y && \
apt-get install --no-install-recommends -y \ apt-get install --no-install-recommends -y \