Skip to content

Commit

Permalink
Patch for awslabs#2510
Browse files Browse the repository at this point in the history
  • Loading branch information
debedb committed Jan 8, 2025
1 parent f910d92 commit c8b193c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions athena-datalakegen2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@ COPY target/athena-datalakegen2-2022.47.1.jar ${LAMBDA_TASK_ROOT}
# Unpack the jar
RUN jar xf athena-datalakegen2-2022.47.1.jar

COPY stupid-microsoft-tricks/mssql-jdbc-12.9.0.jre23-preview.jar ${LAMBDA_TASK_ROOT}

RUN jar xf mssql-jdbc-12.9.0.jre23-preview.jar

# Command can be overwritten by providing a different command in the template directly.
# No need to specify here (already defined in .yaml file because legacy and connections use different)

# Build and push with
# docker build --platform=linux/x86_64 --no-cache -t dlg-adsl2 .; docker tag dlg-adsl2:latest ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/dlg-adsl2:latest; docker push ${AWS_ACCOUNT_ID}.dkr.ecr.us-east-1.amazonaws.com/dlg-adsl2
1 change: 1 addition & 0 deletions athena-datalakegen2/stupid-microsoft-tricks/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See https://github.com/debedb/mssql-jdbc/tree/gg/lambda-fix
Binary file not shown.

0 comments on commit c8b193c

Please sign in to comment.