mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-22 22:32:22 +00:00
10 lines
244 B
Docker
10 lines
244 B
Docker
ARG PLATFORM
|
|
FROM 084037375216.dkr.ecr.us-east-2.amazonaws.com/${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}/
|