Skip to content

Commit f980e48

Browse files
committed
Rename GoExport binary to GoExport_CLI and update entrypoint script accordingly
1 parent f5c24e7 commit f980e48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,12 @@ chmod -R 775 \
5151
# -----------------------------------------------------------------------------
5252
# GoExport Binary Check
5353
# -----------------------------------------------------------------------------
54-
GOEXPORT_BIN="/var/www/html/bin/goexport/goexport"
54+
GOEXPORT_BIN="/var/www/html/bin/goexport/GoExport_CLI"
5555

5656
if [ -f "$GOEXPORT_BIN" ]; then
5757
echo "[✓] GoExport binary present"
5858
else
5959
echo "[!] WARNING: GoExport binary not found at $GOEXPORT_BIN"
60-
echo "[!] The binary should be installed during Docker build"
6160
fi
6261

6362
# -----------------------------------------------------------------------------

dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ RUN mkdir -p /var/www/html/bin/goexport \
224224
&& wget -q https://github.com/GoExport/GoExport/releases/latest/download/goexport_linux_portable_amd64.tar.gz \
225225
&& tar -xzf goexport_linux_portable_amd64.tar.gz \
226226
&& rm goexport_linux_portable_amd64.tar.gz \
227-
&& chmod +x goexport 2>/dev/null || true
227+
&& mv goexport GoExport_CLI 2>/dev/null || true \
228+
&& chmod +x GoExport_CLI 2>/dev/null || true
228229

229230
# =============================================================================
230231
# Permissions & Storage

0 commit comments

Comments
 (0)