@elastic.io/component-build-helper
Advanced tools
Comparing version 0.1.0-dev.1 to 0.1.0-dev.2
@@ -123,2 +123,3 @@ "use strict"; | ||
'ARG RESOURCES_MAIN_DIR=./build/resources/main', | ||
'ARG DEPENDENCIES_DIR=./build/dependencies', | ||
'ENV CLASSPATH $CLASSES_MAIN_DIR:$RESOURCES_MAIN_DIR:$DEPENDENCIES_DIR/*', | ||
@@ -131,2 +132,3 @@ // add generated jre to the path | ||
'USER apprunner', | ||
'COPY --from=build --chown=apprunner /home/apprunner/jre /home/apprunner/jre', | ||
'COPY --from=build --chown=apprunner /home/apprunner/build /home/apprunner/build', | ||
@@ -133,0 +135,0 @@ 'COPY --from=build --chown=apprunner /sbin/tini /sbin/tini', |
{ | ||
"name": "@elastic.io/component-build-helper", | ||
"version": "0.1.0-dev.1", | ||
"version": "0.1.0-dev.2", | ||
"description": "Helpers for the component build process", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -173,2 +173,3 @@ /* eslint-disable @typescript-eslint/no-use-before-define */ | ||
'ARG RESOURCES_MAIN_DIR=./build/resources/main', | ||
'ARG DEPENDENCIES_DIR=./build/dependencies', | ||
'ENV CLASSPATH $CLASSES_MAIN_DIR:$RESOURCES_MAIN_DIR:$DEPENDENCIES_DIR/*', | ||
@@ -181,2 +182,3 @@ // add generated jre to the path | ||
'USER apprunner', | ||
'COPY --from=build --chown=apprunner /home/apprunner/jre /home/apprunner/jre', | ||
'COPY --from=build --chown=apprunner /home/apprunner/build /home/apprunner/build', | ||
@@ -183,0 +185,0 @@ 'COPY --from=build --chown=apprunner /sbin/tini /sbin/tini', |
Sorry, the diff of this file is too big to display
775776
3451
77