Commit 97cf6b27 authored by Matthias Rüster's avatar Matthias Rüster
Browse files

Dockerfile: Use make to compile binary

parent ee73eecc
...@@ -2,6 +2,7 @@ FROM alpine:3.11.6 ...@@ -2,6 +2,7 @@ FROM alpine:3.11.6
RUN apk add --update \ RUN apk add --update \
curl \ curl \
make \
g++ && \ g++ && \
mkdir /data mkdir /data
...@@ -14,7 +15,7 @@ COPY Makefile /root/ ...@@ -14,7 +15,7 @@ COPY Makefile /root/
WORKDIR /root WORKDIR /root
RUN g++ -o srtmRead srtmRead.cpp && \ RUN make && \
./srtmRead -range 0 360 -90 90 -fmt DSBB && \ ./srtmRead -range 0 360 -90 90 -fmt DSBB && \
mv srtmRead.out.grd /data/grid_30.grd && \ mv srtmRead.out.grd /data/grid_30.grd && \
./srtmRead -range 0 360 -90 90 -resample 2 -fmt DSBB && \ ./srtmRead -range 0 360 -90 90 -resample 2 -fmt DSBB && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment