mirror of
https://github.com/yibaiba/hideck.git
synced 2026-12-05 08:01:10 +00:00
Revert "build(docker): drop unused glib typelibs and tzdata from runtime images"
This reverts commit 5dfc77eea4.
This commit is contained in:
1 parent
5dfc77eea4
commit
058b1478e0
4 files changed
+4
-60
No files matched your search
+1
-20
@@ -106,26 +106,7 @@ RUN apk add --no-cache \
|
||||
test -e /usr/lib/libopencore-amrwb.so.0 && \
|
||||
test -e /usr/lib/libvo-amrwbenc.so.0 && \
|
||||
test -e /usr/lib/libmp3lame.so.0 && \
|
||||
test -x /usr/libexec/qmi-proxy && \
|
||||
rm -rf /usr/lib/girepository-1.0 \
|
||||
/usr/lib/libgirepository-2.0.so* \
|
||||
/usr/libexec/gio-launch-desktop \
|
||||
/usr/bin/gapplication \
|
||||
/usr/bin/gdbus \
|
||||
/usr/bin/gi-compile-repository \
|
||||
/usr/bin/gi-decompile-typelib \
|
||||
/usr/bin/gi-inspect-typelib \
|
||||
/usr/bin/gio \
|
||||
/usr/bin/gio-querymodules \
|
||||
/usr/bin/glib-compile-schemas \
|
||||
/usr/bin/gsettings && \
|
||||
cp -L /usr/share/zoneinfo/Asia/Shanghai /tmp/Shanghai && \
|
||||
cp -L /usr/share/zoneinfo/UTC /tmp/UTC && \
|
||||
rm -rf /usr/share/zoneinfo && \
|
||||
mkdir -p /usr/share/zoneinfo/Asia && \
|
||||
mv /tmp/Shanghai /usr/share/zoneinfo/Asia/Shanghai && \
|
||||
mv /tmp/UTC /usr/share/zoneinfo/UTC && \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
test -x /usr/libexec/qmi-proxy
|
||||
|
||||
# 管理 HTTP、电话 HTTPS、WebRTC UDP mux
|
||||
EXPOSE 7575/tcp 7576/tcp 7580/udp
|
||||
|
||||
+1
-20
@@ -105,26 +105,7 @@ RUN apk add --no-cache \
|
||||
test -e /usr/lib/libopencore-amrwb.so.0 && \
|
||||
test -e /usr/lib/libvo-amrwbenc.so.0 && \
|
||||
test -e /usr/lib/libmp3lame.so.0 && \
|
||||
test -x /usr/libexec/qmi-proxy && \
|
||||
rm -rf /usr/lib/girepository-1.0 \
|
||||
/usr/lib/libgirepository-2.0.so* \
|
||||
/usr/libexec/gio-launch-desktop \
|
||||
/usr/bin/gapplication \
|
||||
/usr/bin/gdbus \
|
||||
/usr/bin/gi-compile-repository \
|
||||
/usr/bin/gi-decompile-typelib \
|
||||
/usr/bin/gi-inspect-typelib \
|
||||
/usr/bin/gio \
|
||||
/usr/bin/gio-querymodules \
|
||||
/usr/bin/glib-compile-schemas \
|
||||
/usr/bin/gsettings && \
|
||||
cp -L /usr/share/zoneinfo/Asia/Shanghai /tmp/Shanghai && \
|
||||
cp -L /usr/share/zoneinfo/UTC /tmp/UTC && \
|
||||
rm -rf /usr/share/zoneinfo && \
|
||||
mkdir -p /usr/share/zoneinfo/Asia && \
|
||||
mv /tmp/Shanghai /usr/share/zoneinfo/Asia/Shanghai && \
|
||||
mv /tmp/UTC /usr/share/zoneinfo/UTC && \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
test -x /usr/libexec/qmi-proxy
|
||||
|
||||
# 管理 HTTP、电话 HTTPS、WebRTC UDP mux
|
||||
EXPOSE 7575/tcp 7576/tcp 7580/udp
|
||||
|
||||
+2
-1
@@ -13,7 +13,8 @@ LABEL org.opencontainers.image.title="HiDeck" \
|
||||
org.opencontainers.image.created=${BUILDTIME} \
|
||||
org.opencontainers.image.revision=${REVISION}
|
||||
|
||||
COPY --chmod=0755 dist/hideck_${VERSION}_linux_${TARGETARCH} /usr/local/bin/hideck
|
||||
COPY dist/hideck_${VERSION}_linux_${TARGETARCH} /usr/local/bin/hideck
|
||||
RUN chmod 0755 /usr/local/bin/hideck
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \
|
||||
CMD wget -q -T 3 -O /dev/null http://127.0.0.1:7575/ping || exit 1
|
||||
|
||||
@@ -22,25 +22,6 @@ RUN apk add --no-cache \
|
||||
test -e /usr/lib/libvo-amrwbenc.so.0 && \
|
||||
test -e /usr/lib/libmp3lame.so.0 && \
|
||||
test -x /usr/libexec/qmi-proxy && \
|
||||
rm -rf /usr/lib/girepository-1.0 \
|
||||
/usr/lib/libgirepository-2.0.so* \
|
||||
/usr/libexec/gio-launch-desktop \
|
||||
/usr/bin/gapplication \
|
||||
/usr/bin/gdbus \
|
||||
/usr/bin/gi-compile-repository \
|
||||
/usr/bin/gi-decompile-typelib \
|
||||
/usr/bin/gi-inspect-typelib \
|
||||
/usr/bin/gio \
|
||||
/usr/bin/gio-querymodules \
|
||||
/usr/bin/glib-compile-schemas \
|
||||
/usr/bin/gsettings && \
|
||||
cp -L /usr/share/zoneinfo/Asia/Shanghai /tmp/Shanghai && \
|
||||
cp -L /usr/share/zoneinfo/UTC /tmp/UTC && \
|
||||
rm -rf /usr/share/zoneinfo && \
|
||||
mkdir -p /usr/share/zoneinfo/Asia && \
|
||||
mv /tmp/Shanghai /usr/share/zoneinfo/Asia/Shanghai && \
|
||||
mv /tmp/UTC /usr/share/zoneinfo/UTC && \
|
||||
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
||||
mkdir -p /app/config /app/data /app/logs
|
||||
|
||||
EXPOSE 7575/tcp 7576/tcp 7580/udp
|
||||
|
||||
Reference in new issue
Block a user