blob: bf4510907cee0dadbaceb32249f39ee268c13ab8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# produces redisfab/stunnel:latest
FROM ubuntu:18.04
RUN apt-get update -qq --fix-missing
RUN apt-get upgrade -qqy
RUN apt install -qqy stunnel
RUN mkdir -p /etc/stunnel/conf.d
RUN echo "foreground = yes\ninclude = /etc/stunnel/conf.d" > /etc/stunnel/stunnel.conf
RUN chown -R root:root /etc/stunnel/
CMD ["/usr/bin/stunnel"]
|