mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 21:43:08 +00:00
10 lines
244 B
Plaintext
10 lines
244 B
Plaintext
ARG ZT_NAME
|
|
FROM 084037375216.dkr.ecr.us-east-2.amazonaws.com/${ZT_NAME}-builder as builder
|
|
WORKDIR /root/rpmbuild/BUILD
|
|
COPY . .
|
|
RUN make redhat
|
|
|
|
FROM scratch AS export
|
|
ARG ZT_NAME
|
|
COPY --from=builder /root/rpmbuild/RPMS/*/*.rpm ./${ZT_NAME}/
|