Skip to content

Commit defb6b5

Browse files
committed
Move Binary for better Compatibillity
1 parent 688a871 commit defb6b5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Docker/entrypoint.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ if [[ ! -f /app/config.yaml ]]; then
1515
echo "No Config File found. Please Mount under /app/config.yaml. Examples: https://github.com/ddbnl/office365-audit-log-collector/tree/master/ConfigExamples"
1616
exit 1
1717
fi
18-
cd /app
19-
./OfficeAuditLogCollector ${TENANT_ID} ${CLIENT_KEY} ${SECRET_KEY} --config /app/config.yaml
18+
/OfficeAuditLogCollector ${TENANT_ID} ${CLIENT_KEY} ${SECRET_KEY} --config /app/config.yaml

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ COPY Docker/entrypoint.sh /
33
WORKDIR /app
44
COPY Linux/* .
55
RUN \
6-
mv *OfficeAuditLogCollector* OfficeAuditLogCollector && \
7-
chmod +x OfficeAuditLogCollector && \
6+
mv *OfficeAuditLogCollector* /OfficeAuditLogCollector && \
7+
chmod +x /OfficeAuditLogCollector && \
88
chmod +x /entrypoint.sh
99

1010
ENTRYPOINT ["/bin/bash", "-c", "/entrypoint.sh"]

0 commit comments

Comments
 (0)