mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
build: oracle instant client
This commit is contained in:
@@ -33,6 +33,7 @@ ENV DB_CLIENT=/opt/sqlbot/db_client
|
||||
ARG TARGETARCH
|
||||
RUN apt-get update && \
|
||||
apt-get install -y curl unzip && \
|
||||
apt-get install -y libaio1 && \
|
||||
mkdir -p ${DB_CLIENT} && \
|
||||
if [ "$TARGETARCH" = "amd64" ]; then \
|
||||
echo "Building for x86_64"; \
|
||||
@@ -43,4 +44,5 @@ RUN apt-get update && \
|
||||
fi && \
|
||||
unzip app.zip -d ${DB_CLIENT} && \
|
||||
rm app.zip && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
mv ${DB_CLIENT}/instantclient* ${DB_CLIENT}/oracle_instant_client
|
||||
Reference in New Issue
Block a user