-
Notifications
You must be signed in to change notification settings - Fork 997
Closed
Description
I'd had problems installing LLVM correctly on a Linux workstation and so use the Docker image.
Would like to try this now v0.4.1 (#235) but there's no accompanying image.
Self-building the image appears to not work for me :-(
I'm unable to go get -u github.com/tinygo-org/tinygo because my local LLVM is not working.
I tried:
git clone git@github.com:tinygo-org/tinygo $GOPATH/src/github.com/tinygo-org/tinygo
cd $GOPATH/src/github.com/tinygo-org/tinygo
docker build --tag=tinygo --file=Dockerfile .
But this fails when I use this local image:
docker run \
--rm --interactive --tty \
--volume=${PWD}/src:/src --volume=${PWD}/bin:/bin \
tinygo tinygo build -o /bin/arduino.hex -target=arduino \
/src/github.com/DazWilkin/tinygo/arduino/main.go
../usr/local/go/src/syscall/js/func.go:74:3: todo: unknown expression: select blocking []
but succeeds with the existing deployed image:
docker run \
--rm --interactive --tty \
--volume=${PWD}/src:/src --volume=${PWD}/bin:/bin \
tinygo/tinygo tinygo build -o /bin/arduino.hex -target=arduino \
/src/github.com/DazWilkin/tinygo/arduino/main.go
Additionally:
- Please consider automating Docker image builds w/ releases
motecshine
Metadata
Metadata
Assignees
Labels
No labels