diff --git a/Dockerfile b/Dockerfile index aa547e0..0de8145 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM scratch ADD rootfs.tar.gz / -ARG ROOT_PW -RUN echo -e "${ROOT_PW}\n${ROOT_PW}" | passwd RUN mkdir -p /var/lock RUN opkg remove dnsmasq && \ opkg update && \ diff --git a/Dockerfile.rpi b/Dockerfile.rpi index 502fb05..15a851b 100644 --- a/Dockerfile.rpi +++ b/Dockerfile.rpi @@ -1,7 +1,5 @@ FROM scratch COPY . . -ARG ROOT_PW -RUN echo -e "${ROOT_PW}\n${ROOT_PW}" | passwd RUN mkdir -p /var/lock RUN opkg update && \ opkg install \ diff --git a/Makefile b/Makefile index ae5e2bb..a2d0066 100644 --- a/Makefile +++ b/Makefile @@ -14,8 +14,6 @@ rootfs.tar.gz: build: rootfs.tar.gz docker build \ - --build-arg ROOT_PW \ - --build-arg OPENWRT_SOURCE_VER \ --build-arg ts="$(shell date)" \ --build-arg version="${OPENWRT_SOURCE_VER}" \ -t ${IMAGE_TAG} . diff --git a/build-rpi.sh b/build-rpi.sh index 14b097e..de76896 100755 --- a/build-rpi.sh +++ b/build-rpi.sh @@ -31,7 +31,6 @@ mount_rootfs() { docker_build() { echo "* building Docker image" docker build \ - --build-arg ROOT_PW="${ROOT_PW}" \ --build-arg ts="$(date)" \ --build-arg version="${VERSION:-$OPENWRT_SOURCE_VER}" \ -t ${IMAGE_TAG} -f Dockerfile.rpi ${tmpdir} diff --git a/openwrt.conf.example b/openwrt.conf.example index 7283e54..5881ed0 100644 --- a/openwrt.conf.example +++ b/openwrt.conf.example @@ -7,7 +7,6 @@ OPENWRT_SOURCE_VER=19.07.4 IMAGE_TAG=oofnik/openwrt # container name CONTAINER=openwrt_1 -ROOT_PW=changeme123 ## Docker network settings # name of the WAN Docker network