Skip to content

Commit

Permalink
update openwrt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflylee authored and spacemeowx2 committed Apr 6, 2023
1 parent 4dd4c2c commit 076475c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile.openwrt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/Makefile.openwrt
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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

Expand Down

0 comments on commit 076475c

Please sign in to comment.