update Dockerfile
This commit is contained in:
parent
f036c50370
commit
9b0aa10d2a
@ -4,10 +4,10 @@ MAINTAINER Filip Gralinski <filipg@ceti.pl>
|
|||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
|
||||||
RUN apt-get -y update && apt-get -y install libfcgi-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get -y update && apt-get -y install libfcgi-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN git clone git://gonito.net/geval && cd geval && git reset --hard 599b08eb2beb207b81073acb9626696f7f0e0171
|
RUN git clone git://gonito.net/geval && cd geval && git reset --hard 599b08eb2beb207b81073acb9626696f7f0e0171
|
||||||
RUN git clone git://gonito.net/gonito && cd gonito && git reset --hard 4046e32f5e8e3e9bd61a880c20a37154bf30798a
|
RUN git clone git://gonito.net/gonito && cd gonito && git reset --hard f036c50370f4d51dd823c4ac58df90573a489407
|
||||||
|
|
||||||
WORKDIR gonito
|
WORKDIR gonito
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ RUN stack install && rm -rf /root/.stack
|
|||||||
|
|
||||||
FROM ubuntu:16.04 AS gonito-run
|
FROM ubuntu:16.04 AS gonito-run
|
||||||
|
|
||||||
RUN apt-get -y update && apt-get -y install libcairo2 libpq5 && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get -y update && apt-get -y install git libcairo2 libpq5 && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN mkdir /gonito
|
RUN mkdir /gonito
|
||||||
|
|
||||||
@ -27,6 +27,4 @@ COPY --from=gonito-build /root/gonito/static static
|
|||||||
|
|
||||||
COPY --from=gonito-build /root/gonito/config config
|
COPY --from=gonito-build /root/gonito/config config
|
||||||
|
|
||||||
RUN apt-get -y update && apt-get -y install git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
CMD ./gonito-bin
|
CMD ./gonito-bin
|
||||||
|
Loading…
Reference in New Issue
Block a user