Skip to content
Snippets Groups Projects
Commit 3002b5ea authored by Romain de Laage's avatar Romain de Laage
Browse files

v2

parent 0061272d
No related branches found
No related tags found
No related merge requests found
FROM debian:buster
MAINTAINER Romain de Laage <romaindelaage@orange.fr>
RUN apt-get update \
&& apt-get -yq install build-essential libssl-dev libio-socket-ssl-perl liblwp-protocol-https-perl libpq-dev git \
......@@ -10,15 +9,15 @@ COPY lufi.conf /lufi/lufi.conf
WORKDIR /lufi
#INSTALLATION OF THE DEPENDENCIES
RUN carton install --deployment --without=test --without=sqlite --without=mysql
VOLUME /lufi/data /lufi/files
ADD a.out /boucle
ADD tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
EXPOSE 8081
#DEFAULT COMMAND EXECUTED AT EACH LAUNCH OF THE IMAGE
#CMD carton exec hypnotoad /lufi/script/lufi
CMD carton exec hypnotoad /lufi/script/lufi && /boucle
CMD ["carton", "exec", "hypnotoad", "-f", "/lufi/script/lufi"]
File deleted
#include <stdio.h>
int main(void){
while(1){
}
return -1;
}
tini 0 → 100644
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment