Created
October 10, 2018 12:34
-
-
Save ironhouzi/56ec93c35147c440cf4fb9c08f92449a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.8 | |
ARG SEN2COR_VERSION_URL=2.5.5 | |
ARG SEN2COR_VERSION_FILENAME=02.05.05 | |
# sen2cor install relies on file command | |
RUN apk add --no-cache file \ | |
&& wget http://step.esa.int/thirdparties/sen2cor/${SEN2COR_VERSION_URL}/Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \ | |
&& chmod +x Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \ | |
&& ./Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \ | |
&& rm Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64.run \ | |
&& apk del file \ | |
&& ln -s /Sen2Cor-${SEN2COR_VERSION_FILENAME}-Linux64/bin/L2A_Process /usr/bin/L2A_Process | |
WORKDIR /workdir | |
ENTRYPOINT ["L2A_Process"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
podman error debug: