docker-swiss/Dockerfile
Pim van den Berg 068c38ecf5
All checks were successful
continuous-integration/drone/push Build is passing
feat: install ffsend
https://github.com/timvisee/ffsend
2024-08-27 10:05:45 +02:00

45 lines
1.2 KiB
Docker

FROM debian:bookworm-slim
RUN set -eux && \
apt-get update && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
arping \
ca-certificates \
curl \
dnsutils \
iproute2 \
iptables \
iputils-ping \
jq \
less \
locales \
mtr-tiny \
net-tools \
netcat-openbsd \
openssh-client \
openssl \
postgresql-client \
procps \
psmisc \
screen \
tcpdump \
telnet \
traceroute \
vim \
awscli \
direnv \
&& \
curl -s -o /usr/local/bin/ffsend -L $(curl -s https://api.github.com/repos/timvisee/ffsend/releases | jq -r '.[0].assets[] | select(.name | contains("linux-x64-static")).browser_download_url') && \
rm -rf /var/lib/apt/lists/* && \
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
/usr/sbin/locale-gen && \
/usr/sbin/update-locale 'LANG=en_US.UTF-8' && \
echo "set mouse=\"\"" > /root/.vimrc && \
echo "eval \"\$(direnv hook bash)\"" >> /root/.bashrc
ADD start.sh /
WORKDIR /root
CMD /start.sh