Commit 97cf6b27 authored by Matthias Ruester's avatar Matthias Ruester

Dockerfile: Use make to compile binary

parent ee73eecc
......@@ -2,6 +2,7 @@ FROM alpine:3.11.6
RUN apk add --update \
curl \
make \
g++ && \
mkdir /data
......@@ -14,7 +15,7 @@ COPY Makefile /root/
WORKDIR /root
RUN g++ -o srtmRead srtmRead.cpp && \
RUN make && \
./srtmRead -range 0 360 -90 90 -fmt DSBB && \
mv srtmRead.out.grd /data/grid_30.grd && \
./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