mirror of
https://github.com/balzack/databag.git
synced 2025-04-20 16:45:25 +00:00
adding container filer
This commit is contained in:
parent
67ea2f23fd
commit
8adbacea13
35
net/container/Dockerfile
Normal file
35
net/container/Dockerfile
Normal 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
8
net/container/configure.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "bind 'set mark-symlinked-directories on'" >> /root/.bashrc
|
||||
|
||||
while [ true ]; do
|
||||
sleep 1;
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user