Skip to content

Commit

Permalink
fix(container): unpack opa to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
alee-x committed Oct 12, 2023
1 parent 5c4220c commit 751536b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/trino/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ RUN unzip $IMPORT_PLUGIN_DIR/trino-trino-$TRINO_VERSION.zip -d $IMPORT_PLUGIN_DI
mkdir $TRINO_PLUGIN_DIR/trino && \
mv $IMPORT_PLUGIN_DIR/trino-trino-$TRINO_VERSION/* $TRINO_PLUGIN_DIR/trino/

RUN unzip $IMPORT_PLUGIN_DIR/trino-opa-authorizer-$TRINO_VERSION.zip -d $IMPORT_PLUGIN_DIR/
RUN unzip $IMPORT_PLUGIN_DIR/trino-opa-authorizer-$TRINO_VERSION.zip -d $IMPORT_PLUGIN_DIR/ && \
mkdir $TRINO_PLUGIN_DIR/trino-opa-authorizer && \
mv $IMPORT_PLUGIN_DIR/trino-opa-authorizer-$TRINO_VERSION/* $TRINO_PLUGIN_DIR/trino-opa-authorizer/

# Correct permissions for folder for the logging
RUN chown 1000 /var/log
Expand Down

0 comments on commit 751536b

Please sign in to comment.