eos icon indicating copy to clipboard operation
eos copied to clipboard

Pinned/Unpinned : Docker for development via VSCode connection

Open nyue opened this issue 3 years ago • 1 comments
trafficstars

I am planning to explorer the possibility of connecting VSCode to a EOSIO docker runtime for development

https://github.com/EOSIO/eos/tree/master/.cicd/platforms

There are two variants, pin and unpin.

Which one would you recommend I try ?

Cheers

nyue avatar Dec 01 '21 00:12 nyue

A pinned build fixes the compiler version. This guarantees you will not have struct alignment issues, and won't have problems reading files such as blocks.logs correctly. This is obviously important for production.

An unpinned build does not fix the compiler, it uses whatever the default compiler exists on your system. This will take less time to build, but you could run into aforementioned struct alignment issue, or potentially other with specific compiler versions.

You may want to try unpinned build first to get a quick build, then in production use pinned.

praphael avatar Dec 01 '21 17:12 praphael