Created
October 27, 2020 14:49
-
-
Save dimaspivak/f8c1851fb9cd44d04df874df3f8fb1b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG SDC_VERSION=3.17.0 | |
# Set up stage libs here. Naming allows you to refer to them by name instead of by integer. | |
FROM streamsets/datacollector-libs:streamsets-datacollector-jdbc-lib-${SDC_VERSION} as jdbc-lib | |
# Using build args for the directories just makes things easier to read. These can be found in the image layers | |
# page on Docker Hub. | |
ARG JDBC_LIB_DIR=/opt/streamsets-datacollector-${SDC_VERSION}/streamsets-libs/streamsets-datacollector-jdbc-lib | |
FROM streamsets/datacollector:${SDC_VERSION} | |
COPY --from=jdbc-lib ${JDBC_LIB_DIR} ${JDBC_LIB_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment