1
0

Compare commits

...

7 Commits

Author SHA1 Message Date
20f5c653ac feat: install rsync
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-31 18:35:03 +01:00
0b8f55ca05 feat: install unzip
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 10:55:33 +02:00
c58f97d2c8 feat: install bind9-dnsutils
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-09 14:01:58 +01:00
5fda9a6457 feat: install less
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-16 14:56:44 +01:00
0d85cf61ae fix(rebuild): the input device is not a TTY
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-11-19 17:10:31 +01:00
82c406ffa3 feat: add git, man
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-30 11:52:20 +00:00
67cfd6b9a5 fix: configure MTU for docker:dind service to 1492
All checks were successful
continuous-integration/drone/push Build is passing
https://blog.zespre.com/dind-mtu-size-matters.html
2022-09-18 15:53:04 +02:00
3 changed files with 19 additions and 1 deletions

View File

@ -30,6 +30,11 @@ services:
volumes:
- name: dockersock
path: /var/run
command:
- dockerd-entrypoint.sh
- dockerd
- --host=unix:///var/run/docker.sock
- --mtu=1492
volumes:
- name: dockersock
@ -68,6 +73,11 @@ services:
volumes:
- name: dockersock
path: /var/run
command:
- dockerd-entrypoint.sh
- dockerd
- --host=unix:///var/run/docker.sock
- --mtu=1492
volumes:
- name: dockersock

View File

@ -12,6 +12,12 @@ RUN set -eux && \
net-tools \
screen \
vim \
git \
man \
less \
bind9-dnsutils \
unzip \
rsync \
&& \
rm -rf /var/lib/apt/lists/* && \
rm /etc/ssh/ssh_host_*key* && \

View File

@ -1,8 +1,10 @@
#!/bin/sh
set -x
updates_available () {
docker pull "$1"
if test "$(docker run -it --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
if test "$(docker run --rm "$1" /bin/sh -c 'apt -qqq update && apt -qq list --upgradable')" != ""; then
return 0
else
return 1