You've already forked dcmerge
fix(Dockerfile): respect target platform
This commit is contained in:
@@ -145,7 +145,7 @@ nfpms:
|
||||
description: |-
|
||||
dcmerge is a tool to merge docker-compose files from multiple resources.
|
||||
It supports merging local files and remote files via HTTP/HTTPS.
|
||||
license: Apache 2.0
|
||||
license: MIT
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
FROM scratch AS build
|
||||
|
||||
COPY dcmerge-* /usr/bin/dcmerge
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
COPY "${TARGETPLATFORM}/dcmerge" "/usr/bin/dcmerge"
|
||||
ENTRYPOINT [ "/usr/bin/dcmerge" ]
|
||||
Reference in New Issue
Block a user