mirror of
https://github.com/kaiju/docker-gophernicus.git
synced 2025-04-13 09:30:16 +00:00
Update to gophernicus 3.1.1
This commit is contained in:
parent
f6b786cd0a
commit
7a5e9574e4
1 changed files with 4 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
|||
FROM alpine:latest AS builder
|
||||
|
||||
ARG XINETD_VERSION=2.3.15.4
|
||||
ARG VERSION=3.0.1
|
||||
ARG VERSION=3.1.1
|
||||
|
||||
RUN apk add build-base autoconf automake libtool pkgconf git
|
||||
RUN git clone -b ${XINETD_VERSION} https://github.com/openSUSE/xinetd.git
|
||||
RUN cd xinetd && sh ./autogen.sh && ./configure && make
|
||||
RUN git clone -b ${VERSION} https://github.com/gophernicus/gophernicus.git
|
||||
RUN cd gophernicus && make
|
||||
RUN cd gophernicus && ./configure && make
|
||||
|
||||
FROM alpine:latest
|
||||
EXPOSE 70/tcp
|
||||
|
@ -15,8 +15,8 @@ VOLUME /var/gopher
|
|||
RUN mkdir -p /etc/xinetd.d/
|
||||
RUN mkdir -p /var/gopher
|
||||
COPY --from=builder /xinetd/xinetd /usr/sbin
|
||||
COPY --from=builder /gophernicus/gophernicus /usr/sbin
|
||||
COPY --from=builder /gophernicus/gophermap /var/gopher/gophermap
|
||||
COPY --from=builder /gophernicus/src/gophernicus /usr/sbin
|
||||
COPY --from=builder /gophernicus/gophermap.sample /var/gopher/gophermap
|
||||
COPY xinetd.conf /etc/xinetd.conf
|
||||
COPY init.sh /init.sh
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue