Fix docker build to make runnable executable (#39)
This commit is contained in:
committed by
Steve Brunton
parent
4de6b2de0c
commit
543ff20390
@@ -3,7 +3,7 @@ FROM alpine:3.6
|
|||||||
EXPOSE 9436
|
EXPOSE 9436
|
||||||
|
|
||||||
COPY scripts/start.sh /app/
|
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/*
|
RUN chmod 755 /app/*
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ FROM arm32v7/busybox:1.27.2
|
|||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
|
||||||
COPY scripts/start.sh /app/
|
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/*
|
RUN chmod 755 /app/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user