Add jq and bash pkg for openwrt image 08/3508/1
authorchengli3 <cheng1.li@intel.com>
Tue, 26 May 2020 05:29:01 +0000 (05:29 +0000)
committerchengli3 <cheng1.li@intel.com>
Tue, 26 May 2020 05:29:01 +0000 (05:29 +0000)
jq and bash pkg is used by openwrt entrypoint script. So we need to
install these packages when building image.

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I737d88b28189e000aae517276d42a506292dc316

platform/cnf/src/Dockerfile_1806_mwan3.tpl
platform/cnf/src/Dockerfile_1806_mwan3_noproxy.tpl

index 52bf6ac..cb45337 100644 (file)
@@ -10,7 +10,7 @@ RUN mkdir /var/lock && \
     opkg install uhttpd-mod-lua && \
     uci set uhttpd.main.interpreter='.lua=/usr/bin/lua' && \
     uci commit uhttpd && \
-    opkg install mwan3 && \
+    opkg install mwan3 jq bash && \
     opkg install luci-app-mwan3; exit 0
 
 COPY system /etc/config/system
index 0b0590e..d07e899 100644 (file)
@@ -7,7 +7,7 @@ RUN mkdir /var/lock && \
     opkg install uhttpd-mod-lua && \
     uci set uhttpd.main.interpreter='.lua=/usr/bin/lua' && \
     uci commit uhttpd && \
-    opkg install mwan3 && \
+    opkg install mwan3 jq bash && \
     opkg install luci-app-mwan3; exit 0
 
 COPY system /etc/config/system