-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build linux docker image with amd64 and arm64
- Loading branch information
1 parent
330c242
commit 6f8ccd3
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
ARG PLATFORM | ||
FROM alpine:latest | ||
LABEL org.opencontainers.image.source=https://github.com/booleworks/logicng-service | ||
|
||
ENV TIMEOUT 5s | ||
|
||
COPY logicng-service-linux /opt/logicng-service | ||
COPY logicng-service-$PLATFORM /opt/logicng-service | ||
|
||
EXPOSE 8080 | ||
CMD /opt/logicng-service --timeout $TIMEOUT |