mirror of
https://github.com/kaiju/docker-gophernicus.git
synced 2025-08-05 16:48:38 +00:00
Add in default gophermap just for fun
This commit is contained in:
parent
4ba59a84d0
commit
f6b786cd0a
1 changed files with 3 additions and 1 deletions
|
@ -12,10 +12,12 @@ RUN cd gophernicus && make
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
EXPOSE 70/tcp
|
EXPOSE 70/tcp
|
||||||
VOLUME /var/gopher
|
VOLUME /var/gopher
|
||||||
|
RUN mkdir -p /etc/xinetd.d/
|
||||||
|
RUN mkdir -p /var/gopher
|
||||||
COPY --from=builder /xinetd/xinetd /usr/sbin
|
COPY --from=builder /xinetd/xinetd /usr/sbin
|
||||||
COPY --from=builder /gophernicus/gophernicus /usr/sbin
|
COPY --from=builder /gophernicus/gophernicus /usr/sbin
|
||||||
|
COPY --from=builder /gophernicus/gophermap /var/gopher/gophermap
|
||||||
COPY xinetd.conf /etc/xinetd.conf
|
COPY xinetd.conf /etc/xinetd.conf
|
||||||
COPY init.sh /init.sh
|
COPY init.sh /init.sh
|
||||||
RUN mkdir -p /etc/xinetd.d/
|
|
||||||
|
|
||||||
CMD ["/init.sh"]
|
CMD ["/init.sh"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue