mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 08:22:31 +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}/
|