Skip to content

Commit

Permalink
pass buster to bullseye docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
aaalloc committed Aug 8, 2023
1 parent d5b943e commit c7cd2b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# start from debian 10 slim version
FROM debian:buster-slim
FROM debian:bullseye-slim

# install certbot, supervisor and utilities
RUN apt-get update && apt-get install --no-install-recommends -yqq \
Expand All @@ -18,12 +18,12 @@ RUN apt-get update && apt-get install --no-install-recommends -yqq \
# install haproxy from official debian repos (https://haproxy.debian.net/)

RUN curl https://haproxy.debian.net/bernat.debian.org.gpg \
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg \
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg \
&& echo deb "[signed-by=/usr/share/keyrings/haproxy.debian.net.gpg]" \
http://haproxy.debian.net buster-backports-2.4 main \
> /etc/apt/sources.list.d/haproxy.list \
http://haproxy.debian.net bullseye-backports-2.8 main \
> /etc/apt/sources.list.d/haproxy.list \
&& apt-get update \
&& apt-get install -yqq haproxy=2.4.\* \
&& apt-get install -yqq haproxy=2.8.\* \
&& apt-get clean autoclean && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit c7cd2b5

Please sign in to comment.