Skip to content

Commit

Permalink
Adding path vars
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGroundZero committed Dec 19, 2021
1 parent 7d4e297 commit 7ff2319
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM alpine:${ALPINE_VERSION}

ARG BUILD_DATE
ARG BUILD_REVISION
ARG SOURCE_DIR="/github/workspace"
ENV SUB_DIR="/"

LABEL org.opencontainers.image.title=" TheGroundZero/exiftool-scrub"
LABEL org.opencontainers.image.description="exiftool-scrub: Docker image with exiftool to recursively scrub all exif data"
Expand All @@ -30,6 +32,6 @@ RUN EXIFTOOL_VERSION=`curl -s https://exiftool.org/ver.txt` \
# update PATH to include paths to exiftool
ENV PATH="/opt/exiftool:$PATH"

WORKDIR /src
WORKDIR ${SOURCE_DIR}${SUB_DIR}

ENTRYPOINT ["exiftool", "-overwrite_original", "-recurse", "-all=", "."]

0 comments on commit 7ff2319

Please sign in to comment.