This issue is unique.
Your idea.
The Dockerfile includes wget commands to download Oracle Instance Client Downloads for Linux:
- Basic Package (ZIP)
- SQL*Plus Package (ZIP)
The zip files are then extracted to /usr/share.
When running the built Docker image onlyoffice/documentserver-ee:9.3.1.2 the zip files remain in the root folder:
root@123456abcd78:/# ls -lh *.zip
-rw-r--r-- 1 root root 123M Jan 23 2025 basic.zip
-rw-r--r-- 1 root root 5.3M Jan 23 2025 sqlplus.zip
In Dockerfile:
wget -O basic.zip ${OC_DOWNLOAD_URL}/instantclient-basic-linux.$(dpkg --print-architecture | sed 's/amd64/x64/')-${OC_FILE_SUFFIX}.zip && \
wget -O sqlplus.zip ${OC_DOWNLOAD_URL}/instantclient-sqlplus-linux.$(dpkg --print-architecture | sed 's/amd64/x64/')-${OC_FILE_SUFFIX}.zip && \
unzip -o basic.zip -d /usr/share && \
unzip -o sqlplus.zip -d /usr/share && \
As these downloads are unzipped they can then be removed.
unzip -o basic.zip -d /usr/share && \
rm basic.zip && \
unzip -o sqlplus.zip -d /usr/share && \
rm sqlplus.zip && \
This will help reduce Docker image size.
This issue is unique.
Your idea.
The Dockerfile includes wget commands to download Oracle Instance Client Downloads for Linux:
The zip files are then extracted to
/usr/share.When running the built Docker image onlyoffice/documentserver-ee:9.3.1.2 the zip files remain in the root folder:
In Dockerfile:
As these downloads are unzipped they can then be removed.
This will help reduce Docker image size.