Blueos docker build issue

Hi, I am trying to build the blueos through GitHub action. I am facing an issue in the docker build. Could you please help me resolve this issue?

I found the reason by log https://polyfill.io/v3/polyfill.min.js?features=es2015,IntersectionObserver, error HTTP Error 403: Forbidden

I want to know how to fix it.

#31 [linux/amd64 stage-2  9/22] RUN /home/pi/services/install-services.sh
#31 15.54 Requirement already satisfied: appdirs==1.4.4 in /usr/local/lib/python3.9/site-packages/appdirs-1.4.4-py3.9.egg (1.4.4)
#31 15.55 Requirement already satisfied: loguru==0.5.3 in /usr/local/lib/python3.9/site-packages/loguru-0.5.3-py3.9.egg (0.5.3)
#31 15.64 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#31 15.86 
#31 15.86 [notice] A new release of pip is available: 23.0.1 -> 24.0
#31 15.86 [notice] To update, run: pip install --upgrade pip
#31 16.02 Installing service: ardupilot_manager
#31 16.51 /home/pi/services/ardupilot_manager/setup.py:56: UserWarning: unable to open url https://polyfill.io/v3/polyfill.min.js?features=es2015,IntersectionObserver, error HTTP Error 403: Forbidden
#31 16.51   warn(f"unable to open url {file.url}, error {error}")
#31 ERROR: process "/bin/sh -c /home/pi/services/install-services.sh" did not complete successfully: exit code: 1

#32 [linux/amd64 frontendbuilder 5/6] RUN --mount=type=cache,target=/home/pi/frontend/node_modules yarn --cwd /home/pi/frontend build --skip-plugins @vue/cli-plugin-eslint --ignore-engines
#32 CANCELED

#23 [linux/arm64 stage-2  3/22] RUN /home/pi/tools/install-system-tools.sh
#23 104.3 Reading package lists...
#23 CANCELED

#24 [linux/arm/v7 stage-2  3/22] RUN /home/pi/tools/install-system-tools.sh
#24 103.2 Reading package lists...
#24 CANCELED
------
 > [linux/amd64 stage-2  9/22] RUN /home/pi/services/install-services.sh:
13.30 Processing triggers for libc-bin (2.31-13+deb11u6) ...
15.54 Requirement already satisfied: appdirs==1.4.4 in /usr/local/lib/python3.9/site-packages/appdirs-1.4.4-py3.9.egg (1.4.4)
15.55 Requirement already satisfied: loguru==0.5.3 in /usr/local/lib/python3.9/site-packages/loguru-0.5.3-py3.9.egg (0.5.3)
15.64 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
15.86 
Notice: 15.86 [notice] A new release of pip is available: 23.0.1 -> 24.0
Notice: 15.86 [notice] To update, run: pip install --upgrade pip
16.02 Installing service: ardupilot_manager
16.51 /home/pi/services/ardupilot_manager/setup.py:56: UserWarning: unable to open url https://polyfill.io/v3/polyfill.min.js?features=es2015,IntersectionObserver, error HTTP Error 403: Forbidden
16.51   warn(f"unable to open url {file.url}, error {error}")
------
WARNING: local cache import at /tmp/.buildx-cache not found due to err: could not read /tmp/.buildx-cache/index.json: open /tmp/.buildx-cache/index.json: no such file or directory
Dockerfile:38
--------------------
  36 |     # Install services
  37 |     COPY services /home/pi/services
  38 | >>> RUN /home/pi/services/install-services.sh
  39 |     COPY start-blueos-core /usr/bin/start-blueos-core
  40 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c /home/pi/services/install-services.sh" did not complete successfully: exit code: 1
Error: Process completed with exit code 1.
##[debug]Finishing: Docker Buildx (build)

Hi @Sakthivelj,

Which version of BlueOS are you build ? I recommend using our latest master version in our branch.

1 Like

I am using 1.1

We are moving to the new 1.2 stable release soon, I would recommend using master or 1.2.0-beta.8 for further development.

Thanks @patrickelectric