Hello community,
I need to create a Docker image of Stunnel4. This is my first time attempting this; I’ve converted the Ubuntu instructions into the Dockerfile. However, after creating the image, the container doesn’t seem to launch
FROM ubuntu:latest
RUN apt-get update && apt-get install -y stunnel4 && apt-get -y install sudo
ADD stunnel.conf /etc/stunnel/stunnel.conf
ADD ldap-client.key /etc/stunnel/ldap-client.key
ADD ldap-client.crt /etc/stunnel/ldap-client.crt
RUN echo "ENABLED=1" | sudo tee -a /etc/default/stunnel4
EXPOSE 1636
CMD ["stunnel4", "/etc/stunnel/stunnel.conf"]