Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libre
docker-sshd
Commits
b07d6bd5
Commit
b07d6bd5
authored
Jun 08, 2020
by
Michał 'czesiek' Czyżewski
Browse files
Upgrade to bullseye
parent
e61190d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
b07d6bd5
FROM
debian:bu
ster
FROM
debian:bu
llseye-slim
#
# original author "Kirill Müller" <krlmlr+docker@mailbox.org>
MAINTAINER
"Michał 'rysiek' Woźniak" <rysiek@occrp.org>
...
...
@@ -47,13 +47,13 @@ RUN if [ "$INSTALL_PACKAGES" != "" ]; then \
echo
"* * * MAINLINE_PACKAGES:
$MAINLINE_PACKAGES
"
;
\
BACKPORTS_PACKAGES
=
"
$(
echo
"
$INSTALL_PACKAGES
"
|
tr
' '
'\n'
| egrep
':backports$'
|
sed
-r
-e
's/:backports$//'
|
tr
'\n'
' '
)
"
;
\
echo
"* * * BACKPORTS_PACKAGES:
$BACKPORTS_PACKAGES
"
;
\
[
"
$BACKPORTS_PACKAGES
"
!=
""
]
&&
echo
"deb http://ftp.debian.org/debian bu
ster
-backports main"
>
/etc/apt/sources.list.d/bu
ster
-backports.list
;
\
[
"
$BACKPORTS_PACKAGES
"
!=
""
]
&&
echo
"deb http://ftp.debian.org/debian bu
llseye
-backports main"
>
/etc/apt/sources.list.d/bu
llseye
-backports.list
;
\
export
DEBIAN_FRONTEND
=
noninteractive
&&
apt-get update
&&
apt-get
install
-y
\
$MAINLINE_PACKAGES
\
--no-install-recommends
&&
\
if
[
"
$BACKPORTS_PACKAGES
"
!=
""
]
;
then
\
apt-get
install
-y
\
-t
bu
ster
-backports
\
-t
bu
llseye
-backports
\
$BACKPORTS_PACKAGES
\
--no-install-recommends
;
\
fi
;
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment