cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
358
Views
5
Helpful
1
Replies

possibility to upgrade IR1101 base image PING utility

shencwan
Cisco Employee
Cisco Employee

Dear,

Currently built a Dockerfile to deploy our Python application into our C9130AXI via IOx-SDE.

Dockerfile:

FROM devhub-docker.cisco.com/iox-docker/ir1101/base-rootfs:latest

RUN opkg update && opkg install python

COPY hello-python.py /usr/bin/hello-python.py

RUN chmod 777 /usr/bin/hello-python.py

 

In our hello-python.py, there is a PING test script w/ -i (interval) option but the base image's PING utility does not support this option.

We found the base image's PING utility is based on busybox version 1.24.x, is it possible to upgrade to v1.31 or later?

 

Many Thanks

 

Br,

Shawn WANG

 

1 Reply 1

Flo Pachinger
Cisco Employee
Cisco Employee

@shencwan, similar to other IOx hardware it should be possible also on the APs to run any base image.

So you can use your own base image (write your own Dockerfile) as written here: https://developer.cisco.com/learning/labs/iox-app-docker-engine/building-an-iox-application-with-docker/

Depending on your use-case I would use the python base image from here: https://hub.docker.com/r/arm64v8/python/  The IR1101 is based on ARM64v8 and so might be the C9130AXI. From there you can update/install any packages you require.