mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 16:28:52 +00:00
10 lines
218 B
Docker
10 lines
218 B
Docker
ARG PLATFORM
|
|
FROM registry.sean.farm/${PLATFORM}-builder as stage
|
|
WORKDIR /root/rpmbuild/BUILD
|
|
COPY . .
|
|
RUN make redhat
|
|
|
|
FROM scratch AS export
|
|
ARG PLATFORM
|
|
COPY --from=stage /root/rpmbuild/RPMS/*/*.rpm ./${PLATFORM}/
|