Fix docker build to make runnable executable (#39)

This commit is contained in:
Charlie Livingston 2019-07-05 22:17:33 -04:00 committed by Steve Brunton
parent 4de6b2de0c
commit 543ff20390
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:3.6
EXPOSE 9436
COPY scripts/start.sh /app/
COPY dist/mikrotik-exporter_linux_amd64 /app/
COPY dist/mikrotik-exporter_linux_amd64 /app/mikrotik-exporter
RUN chmod 755 /app/*

View File

@ -3,7 +3,7 @@ FROM arm32v7/busybox:1.27.2
EXPOSE 9090
COPY scripts/start.sh /app/
COPY dist/mikrotik-exporter_linux_arm /app/
COPY dist/mikrotik-exporter_linux_arm /app/mikrotik-exporter
RUN chmod 755 /app/*