adding container filer

This commit is contained in:
Roland Osborne 2022-01-11 09:56:14 -08:00
parent 67ea2f23fd
commit 8adbacea13
2 changed files with 43 additions and 0 deletions

35
net/container/Dockerfile Normal file
View File

@ -0,0 +1,35 @@
FROM ubuntu:20.04
LABEL maintainer="roland.osborne@gmail.com"
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
RUN apt-get -y install curl
RUN apt-get -y install net-tools
RUN apt-get -y install jq
RUN apt-get -y install netcat
RUN apt-get -y install unzip
RUN apt-get -y install wget
RUN apt-get -y install git
RUN apt-get -y install vim
RUN apt-get -y install fail2ban
RUN apt-get -y install imagemagick-6.q16
RUN apt-get -y install ffmpeg
RUN apt-get -y install build-essential
RUN apt-get -y install sqlite3
RUN apt-get -y upgrade
RUN wget https://go.dev/dl/go1.17.5.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz
ADD configure.sh /root
RUN mkdir -p /data
RUN echo 'export PATH=$PATH:/usr/local/go/bin' >> /root/.bashrc
RUN echo -e "set expandtab\nset tabstop=2\nset softtabstop=2\nset shiftwidth=2\n" > /root/.vimrc
ENTRYPOINT ["/root/configure.sh"]

8
net/container/configure.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -e
echo "bind 'set mark-symlinked-directories on'" >> /root/.bashrc
while [ true ]; do
sleep 1;
done