Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle 2020-05-15 01:38:47 -07:00
parent 6e1142c207
commit a9164b6a71
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
10 changed files with 4 additions and 117 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM debian:sid-slim
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt-get update && apt-get install -y \

View File

@ -19,7 +19,6 @@ RUN apt-get update && apt-get install -y \
libvirt-daemon-system \
procps \
python-gi \
python-ipaddr \
qemu-kvm \
virtinst \
virt-manager \

View File

@ -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" ]

View File

@ -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" => "")

View File

@ -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

View File

@ -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" ]

View File

@ -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

View File

@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
&& 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
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 \
gcc \
@ -21,7 +21,6 @@ RUN apt-get update && apt-get install -y \
g++ \
make \
nodejs \
npm \
pkgconf \
python \
yarn \

View File

@ -8,7 +8,7 @@ RUN apk --no-cache add \
ENV PERKEEP_VERSION 0.10
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 \
&& go run make.go \
&& cp -vr /go/bin/* /usr/local/bin/ \

View File

@ -34,7 +34,7 @@ RUN useradd --create-home --home-dir $HOME user \
ENV LANG C.UTF-8
# https://www.torproject.org/download/alpha/
ENV TOR_VERSION 9.5a8
ENV TOR_VERSION 9.5a12
ENV TOR_FINGERPRINT 0x4E2C6E8793298290
# download tor and check signature