-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20bf3ff
commit db97866
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,6 @@ | |
FROM debian:bookworm | ||
MAINTAINER Anton Kozlov <[email protected]> | ||
|
||
## python2 (deprecated) | ||
RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list | ||
RUN echo "deb http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list.d/bullseye.list | ||
RUN echo "deb http://security.debian.org bullseye-security main" >> /etc/apt/sources.list.d/bullseye.list | ||
|
||
## Update the repository and install utils | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \ | ||
|
@@ -18,8 +13,6 @@ RUN apt-get update && \ | |
unzip \ | ||
xz-utils \ | ||
python3 \ | ||
python2 \ | ||
python-is-python2 \ | ||
curl \ | ||
dpkg \ | ||
make \ | ||
|
@@ -66,7 +59,14 @@ RUN apt-get update && \ | |
ffmpeg \ | ||
git \ | ||
mime-support \ | ||
dosfstools && \ | ||
dosfstools | ||
|
||
## Install python2 (deprecated) | ||
COPY bullseye.list /etc/apt/sources.list.d/ | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \ | ||
python2 \ | ||
python-is-python2 && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt /var/cache/apt && \ | ||
rm /etc/apt/sources.list.d/bullseye.list | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
deb http://deb.debian.org/debian bullseye main | ||
deb http://deb.debian.org/debian bullseye-updates main | ||
deb http://security.debian.org bullseye-security main |