mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
6e1142c207
commit
a9164b6a71
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:bullseye-slim
|
FROM debian:sid-slim
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
|
|
@ -19,7 +19,6 @@ RUN apt-get update && apt-get install -y \
|
||||||
libvirt-daemon-system \
|
libvirt-daemon-system \
|
||||||
procps \
|
procps \
|
||||||
python-gi \
|
python-gi \
|
||||||
python-ipaddr \
|
|
||||||
qemu-kvm \
|
qemu-kvm \
|
||||||
virtinst \
|
virtinst \
|
||||||
virt-manager \
|
virt-manager \
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
FROM debian:bullseye-slim
|
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
||||||
|
|
||||||
# run
|
|
||||||
# docker run -d -p 1234:80 -p 25:25 jess/mailman
|
|
||||||
#
|
|
||||||
# curl http://localhost:1234/cgi-bin/mailman/admin
|
|
||||||
# for admin screen
|
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
|
||||||
RUN apt-get update && apt-get install -y \
|
|
||||||
lighttpd \
|
|
||||||
mailman \
|
|
||||||
postfix \
|
|
||||||
supervisor \
|
|
||||||
--no-install-recommends \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Lighttpd configuration
|
|
||||||
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
||||||
|
|
||||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
||||||
|
|
||||||
EXPOSE 25 80
|
|
||||||
|
|
||||||
ENTRYPOINT [ "supervisord" ]
|
|
|
@ -1,48 +0,0 @@
|
||||||
server.modules = (
|
|
||||||
"mod_cgi"
|
|
||||||
# ,"mod_access"
|
|
||||||
,"mod_alias"
|
|
||||||
# ,"mod_compress"
|
|
||||||
# ,"mod_redirect"
|
|
||||||
# ,"mod_rewrite"
|
|
||||||
)
|
|
||||||
|
|
||||||
server.document-root = "/usr/lib/cgi-bin/mailman/"
|
|
||||||
server.dir-listing = "disable"
|
|
||||||
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
|
|
||||||
server.errorlog = "/var/log/lighttpd/error.log"
|
|
||||||
server.pid-file = "/var/run/lighttpd.pid"
|
|
||||||
server.username = "www-data"
|
|
||||||
server.groupname = "www-data"
|
|
||||||
server.port = 80
|
|
||||||
|
|
||||||
|
|
||||||
#index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
|
|
||||||
#url.access-deny = ( "~", ".inc" )
|
|
||||||
#static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
|
|
||||||
|
|
||||||
#compress.cache-dir = "/var/cache/lighttpd/compress/"
|
|
||||||
#compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
|
|
||||||
|
|
||||||
# default listening port for IPv6 falls back to the IPv4 port
|
|
||||||
## Use ipv6 if available
|
|
||||||
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
|
|
||||||
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
|
|
||||||
#include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
|
||||||
|
|
||||||
alias.url = ( "/images/mailman/" => "/usr/share/images/mailman/",
|
|
||||||
"/pipermail/" => "/var/lib/mailman/archives/public/",
|
|
||||||
"/cgi-bin/mailman/" => "/usr/lib/cgi-bin/mailman/" )
|
|
||||||
|
|
||||||
cgi.assign = ( "/admin" => "",
|
|
||||||
"/admindb" => "",
|
|
||||||
"/confirm" => "",
|
|
||||||
"/create" => "",
|
|
||||||
"/edithtml" => "",
|
|
||||||
"/listinfo" => "",
|
|
||||||
"/options" => "",
|
|
||||||
"/private" => "",
|
|
||||||
"/rmlist" => "",
|
|
||||||
"/roster" => "",
|
|
||||||
"/subscribe" => "")
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
[supervisord]
|
|
||||||
nodaemon=true
|
|
||||||
|
|
||||||
[program:postfix]
|
|
||||||
command=/etc/init.d/postfix start
|
|
||||||
|
|
||||||
[program:lighttpd]
|
|
||||||
command=/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
|
|
||||||
|
|
||||||
[program:mailman]
|
|
||||||
command=/etc/init.d/mailman start
|
|
|
@ -1,11 +0,0 @@
|
||||||
FROM r.j3ss.co/kalilinux
|
|
||||||
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
|
|
||||||
metasploit-framework \
|
|
||||||
--no-install-recommends \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
COPY start.sh /start.sh
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/start.sh" ]
|
|
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if ! [ -e "/var/run/postgresql/*.pid" ]
|
|
||||||
then
|
|
||||||
/etc/init.d/postgresql start
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! [ -e "/usr/share/metasploit-framework/config/database.yml" ]
|
|
||||||
then
|
|
||||||
/usr/bin/msfdb init
|
|
||||||
fi
|
|
||||||
|
|
||||||
/usr/bin/msfdb start
|
|
||||||
/usr/bin/msfconsole
|
|
|
@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
gcc \
|
gcc \
|
||||||
|
@ -21,7 +21,6 @@ RUN apt-get update && apt-get install -y \
|
||||||
g++ \
|
g++ \
|
||||||
make \
|
make \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm \
|
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python \
|
python \
|
||||||
yarn \
|
yarn \
|
||||||
|
|
|
@ -8,7 +8,7 @@ RUN apk --no-cache add \
|
||||||
ENV PERKEEP_VERSION 0.10
|
ENV PERKEEP_VERSION 0.10
|
||||||
|
|
||||||
RUN mkdir -p /go/src/perkeep.org \
|
RUN mkdir -p /go/src/perkeep.org \
|
||||||
&& git clone --depth 1 --branch "${PERKEEP_VERSION}" https://camlistore.googlesource.com/camlistore.git /go/src/perkeep.org \
|
&& git clone --depth 1 --branch "${PERKEEP_VERSION}" https://github.com/perkeep/perkeep.git /go/src/perkeep.org \
|
||||||
&& cd /go/src/perkeep.org \
|
&& cd /go/src/perkeep.org \
|
||||||
&& go run make.go \
|
&& go run make.go \
|
||||||
&& cp -vr /go/bin/* /usr/local/bin/ \
|
&& cp -vr /go/bin/* /usr/local/bin/ \
|
||||||
|
|
|
@ -34,7 +34,7 @@ RUN useradd --create-home --home-dir $HOME user \
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
# https://www.torproject.org/download/alpha/
|
# https://www.torproject.org/download/alpha/
|
||||||
ENV TOR_VERSION 9.5a8
|
ENV TOR_VERSION 9.5a12
|
||||||
ENV TOR_FINGERPRINT 0x4E2C6E8793298290
|
ENV TOR_FINGERPRINT 0x4E2C6E8793298290
|
||||||
|
|
||||||
# download tor and check signature
|
# download tor and check signature
|
||||||
|
|
Loading…
Reference in New Issue
Block a user