You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
473 B

FROM jenkins/jenkins
LABEL maintainer="Arghyadeep<arghyadeep.k@gmail.com>"
USER root
# Installing Caddy
RUN echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" | tee -a /etc/apt/sources.list.d/caddy-fury.list
RUN apt-get update -y
RUN apt-get install caddy -y
#COPY resources/Caddyfile /Caddy/Caddyfile
COPY script.sh /script.sh
RUN ["chmod", "+x", "/script.sh"]
EXPOSE 80
EXPOSE 443
ENTRYPOINT ["/script.sh"]
# # Switching back user to jenkins
# USER jenkins