Skip to content

Instantly share code, notes, and snippets.

@ironhouzi ironhouzi/Dockerfile
Created Oct 10, 2018

Embed
What would you like to do?
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"]
@ironhouzi

This comment has been minimized.

Copy link
Owner Author

commented Oct 10, 2018

podman error debug:

INFO[0000] running as rootless
DEBU[0000] Not configuring container store
INFO[0000] Found CNI network podman (type=bridge) at /etc/cni/net.d/87-podman-bridge.conflist
DEBU[0000] Initializing boltdb state at /home/user/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Set libpod namespace to ""
ERRO[0000] error creating libpod runtime: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.