File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,15 @@ RUN curl https://sfc-repo.snowflakecomputing.com/odbc/linux/3.5.0/snowflake_linu
2323# modify the config files for the new final location in /opt/snowflake_odbc
2424RUN sed -i 's#/path/to/your/#/opt/snowflake_odbc/lib/#g' /tmp/snowflake_odbc/conf/*
2525
26+ # Move /tmp/snowflake_odbc/ErrorMessages/en-US to /tmp/snowflake_odbc/lib/en-US
27+ # else we get errors like "An error occurred while attempting to retrieve the error message for key ..."
28+ RUN mv /tmp/snowflake_odbc/ErrorMessages/en-US /tmp/snowflake_odbc/lib/
29+
2630RUN php /bref/lib-copy/copy-dependencies.php /tmp/odbc.so /tmp/extension-libs
2731
32+ # Manually copy `libodbcinst.so` to `/tmp/extension-libs` as it is not copied by the script
33+ RUN cp /usr/lib64/libodbcinst.so /tmp/extension-libs
34+
2835
2936# Build the final image with just the files we need
3037FROM scratch
You can’t perform that action at this time.
0 commit comments