diff --git a/docker/Dockerfile.openwrt b/docker/Dockerfile.openwrt index bf78201..ad14af8 100644 --- a/docker/Dockerfile.openwrt +++ b/docker/Dockerfile.openwrt @@ -1,12 +1,12 @@ # docker build -t test -f Dockerfile.openwrt .. -FROM alpine:3.8 +FROM alpine:3.17 -ARG NAME=openwrt-sdk-18.06.1-ramips-mt7621_gcc-7.3.0_musl.Linux-x86_64 -ARG SDK_URL=http://openwrt.proxy.ustclug.org/releases/18.06.1/targets/ramips/mt7621/${NAME}.tar.xz +ARG NAME=openwrt-imagebuilder-22.03.3-ramips-mt7621.Linux-x86_64 +ARG SDK_URL=https://mirrors.cloud.tencent.com/openwrt/releases/22.03.3/targets/ramips/mt7621/${NAME}.tar.xz ARG SDK_PATH=/sdk/${NAME} -RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories +RUN sed -i 's|dl-cdn.alpinelinux.org|mirrors.cloud.tencent.com/alpine|g' /etc/apk/repositories RUN apk add --no-cache curl RUN mkdir /sdk diff --git a/docker/Makefile.openwrt b/docker/Makefile.openwrt index a26b2eb..0166913 100755 --- a/docker/Makefile.openwrt +++ b/docker/Makefile.openwrt @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_RELEASE:=1 -PKG_VERSION:=0.0.7 +PKG_VERSION:=0.2.3 PKG_NAME:=switch-lan-play PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) @@ -14,7 +14,7 @@ define Package/$(PKG_NAME) SECTION:=net CATEGORY:=Network SUBMENU:=Lan-play - DEPENDS:=+libpcap +libpthread + DEPENDS:=+libstdcpp +libatomic +libpcap +libpthread TITLE:=Switch Lan Play Client endef