Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 4a8c660

Browse files
kogelerBulatSaif
andauthored
debian 11 docker image was added (#561)
Co-authored-by: Bulat Saifullin <[email protected]>
1 parent 3612f9f commit 4a8c660

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

.gitlab-ci.yml

+11
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,11 @@ debian10:
405405
script:
406406
- *push_to_docker_hub
407407

408+
debian11:
409+
<<: *docker_build
410+
script:
411+
- *push_to_docker_hub
412+
408413
github-gh-cli:
409414
<<: *docker_build
410415
script:
@@ -974,6 +979,12 @@ publish-debian10-docker-image-description:
974979
IMAGE_NAME: debian10
975980
SHORT_DESCRIPTION: "debian10 utility Docker image."
976981

982+
publish-debian11-docker-image-description:
983+
extends: .publish-docker-image-description
984+
variables:
985+
IMAGE_NAME: debian11
986+
SHORT_DESCRIPTION: "debian11 utility Docker image."
987+
977988
publish-gnupg-docker-image-description:
978989
extends: .publish-docker-image-description
979990
variables:

dockerfiles/debian11/Dockerfile

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
FROM debian:bullseye
2+
3+
# metadata
4+
ARG VCS_REF=master
5+
ARG BUILD_DATE=""
6+
ARG REGISTRY_PATH=docker.io/paritytech
7+
LABEL io.parity.image.authors="[email protected]" \
8+
io.parity.image.vendor="Parity Technologies" \
9+
io.parity.image.title="${REGISTRY_PATH}/debian11" \
10+
io.parity.image.description="ansible" \
11+
io.parity.image.source="https://github.com/paritytech/scripts/blob/${VCS_REF}/\
12+
dockerfiles/debian11/Dockerfile" \
13+
io.parity.image.documentation="https://github.com/paritytech/scripts/blob/${VCS_REF}/\
14+
dockerfiles/debian11/README.md" \
15+
io.parity.image.revision="${VCS_REF}" \
16+
io.parity.image.created="${BUILD_DATE}"
17+
18+
19+
ARG DEBIAN_FRONTEND=noninteractive
20+
# Install dependencies.
21+
RUN apt-get update \
22+
&& apt-get install -y --no-install-recommends \
23+
sudo systemd systemd-sysv \
24+
build-essential wget libffi-dev libssl-dev \
25+
python3-pip python3-dev python3-setuptools python3-wheel python3-apt \
26+
&& rm -rf /var/lib/apt/lists/* \
27+
&& rm -Rf /usr/share/doc && rm -Rf /usr/share/man \
28+
&& apt-get clean
29+
# Make sure systemd doesn't start agettys on tty[1-6].
30+
RUN rm -f /lib/systemd/system/multi-user.target.wants/getty.target
31+
CMD ["/lib/systemd/systemd"]

dockerfiles/debian11/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Description
2+
3+
This Debian 11 image is used in the ansible Molecule test as a base to apply roles.
4+
The docker image should be close to default GCP or AWS images.

0 commit comments

Comments
 (0)