Add tctl-authorization-plugin to docker images (#1832) (#1833)

This commit is contained in:
Andreas Storesund Madsen
2021-08-18 09:36:26 -07:00
committed by GitHub
parent a1ce3706b2
commit fec930aec4
+3
View File
@@ -29,6 +29,7 @@ COPY docker/entrypoint.sh /etc/temporal/entrypoint.sh
COPY docker/start-temporal.sh /etc/temporal/start-temporal.sh
COPY --from=temporal-builder /temporal/tctl /usr/local/bin
COPY --from=temporal-builder /temporal/tctl-authorization-plugin /usr/local/bin
COPY --from=temporal-builder /temporal/temporal-server /usr/local/bin
##### Auto setup Temporal server #####
@@ -55,6 +56,7 @@ FROM ${BASE_SERVER_IMAGE} AS temporal-tctl
WORKDIR /etc/temporal
ENTRYPOINT ["tctl"]
COPY --from=temporal-builder /temporal/tctl /usr/local/bin
COPY --from=temporal-builder /temporal/tctl-authorization-plugin /usr/local/bin
##### Temporal admin tools #####
FROM ${BASE_ADMIN_TOOLS_IMAGE} as temporal-admin-tools
@@ -66,6 +68,7 @@ COPY --from=temporal-builder /temporal/schema /etc/temporal/schema
COPY --from=temporal-builder /temporal/temporal-cassandra-tool /usr/local/bin
COPY --from=temporal-builder /temporal/temporal-sql-tool /usr/local/bin
COPY --from=temporal-builder /temporal/tctl /usr/local/bin
COPY --from=temporal-builder /temporal/tctl-authorization-plugin /usr/local/bin
##### Build requested image #####
FROM temporal-${TARGET}