diff --git a/drvanr-fortran/Dockerfile b/drvanr-fortran/Dockerfile new file mode 100644 index 0000000..0be2c50 --- /dev/null +++ b/drvanr-fortran/Dockerfile @@ -0,0 +1,17 @@ +# Alpine's gfortran wouldnt compile ? +FROM debian:jessie +MAINTAINER robin@kingsquare.nl + +# Create working dir +RUN mkdir -p /var/app +COPY ./raffler.F /var/app +WORKDIR /var/app + +# INSTALL +RUN apt-get update && apt-get install -yq --no-install-recommends gfortran + +# COMPILE +RUN gfortran -o raffler raffler.F + +# Run raffler +CMD ["/var/app/raffler", "/var/names/current"] diff --git a/drvanr-FORTRAN/README.md b/drvanr-fortran/README.md similarity index 100% rename from drvanr-FORTRAN/README.md rename to drvanr-fortran/README.md diff --git a/drvanr-FORTRAN/compile.sh b/drvanr-fortran/compile.sh similarity index 100% rename from drvanr-FORTRAN/compile.sh rename to drvanr-fortran/compile.sh diff --git a/drvanr-FORTRAN/install.sh b/drvanr-fortran/install.sh similarity index 100% rename from drvanr-FORTRAN/install.sh rename to drvanr-fortran/install.sh diff --git a/drvanr-FORTRAN/raffler.F b/drvanr-fortran/raffler.F similarity index 100% rename from drvanr-FORTRAN/raffler.F rename to drvanr-fortran/raffler.F