Setup Docker to build locally

  1. My goal is: I want to build App code locally
  2. My actions are: I never use “Docker”. Have the tools installed on Window10 PC.
  3. The result I see is: But I don’t know the steps to setup Docker to build code for Mongoose.

Is there any step-by-step procedures ??

Follow the docker instructions to install it on your PC. Once installed properly you should be able to type docker --version and see the version number of Docker installed.

Once that’s done you should be able to follow mos instructions to build locally

I have installed the Docker and when it starts, it request GIT link to complete the setup. What should that be ??

This is not related to Mongoose OS.

Follow Install Docker Desktop on Windows for your Windows version. If you have questions about the installation procedure, ask for help in their forums, etc.

I have additional questions when building code locally.

#1. Can it build code without Internet connection ?

Fetch error was: [mongoose: failed to download github asset libmongoose-esp8266.a: failed to fetch Get dial tcp: lookup no such host]

#2. Can I fixed the release version to use for build the code ?

  • releases/tags/2.19

For #2

libs_version: 2.17.0
modules_version: 2.17.0
mongoose_os_version: 2.17.0

Change 2.17.0 to whatever version you want.