Closed mjbright closed 6 years ago
Hi, thanks for filing an issue.
You are correct, there is a mismatch in the versions specified in the docker readme and what will work if you are on the latest dev.
The latest tagged version of IncludeOS is v0.12.0-rc.1
. There is a version of this image named includeos/includeos-common:v0.12.0-rc.1
and this can be used. To build using this perform the following command:
docker build -t includeos/includeos-build:v0.12.0-rc.1 -f Dockerfile.build --build-arg PARENT=includeos/includeos-common:v0.12.0-rc.1 .
Then you can build as you tried using:
$ cd <my-super-cool-service>
$ mkdir build && cd build
$ docker run --rm -v $(dirname $PWD):/service includeos/includeos-build:v0.12.0-rc.1
Everytime we push to hioa-cs/includeos:dev we update the includeos/includeos-common:dev
docker image, so if you want to build using the latest dev environment you can use this.
I will update the readme to use the v0.12.0-rc.1
tag for now.
Following the instruction here: https://github.com/includeos/includeos-docker-images#using-the-docker-image-to-build-your-service
I'm trying to build the IncludeOS demo_service: https://github.com/hioa-cs/IncludeOS/tree/master/examples/demo_service
I've pulled and built the latest docker-images.
I've pulled the latest IncludeOS tree I changed to the examples/demo_service/ and did
mkdir build
NOTE: I needed to also do
chmod 777 build
so as docker could write there.I then
cd build
and rundocker run --rm -v $(dirname $PWD):/service includeos/includeos-build:v0.11.0-rc.2.01
But I get compilation errors as below:
Creating the issue here (builder not in sync with current IncludeOS?) but maybe should have filed against hioa-cs/IncludeOS (maybe example code is not up to date?).