Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Pinned/Unpinned : Docker for development via VSCode connection #10918

Open
nyue opened this issue Dec 1, 2021 · 1 comment
Open

Pinned/Unpinned : Docker for development via VSCode connection #10918

nyue opened this issue Dec 1, 2021 · 1 comment

Comments

@nyue
Copy link

nyue commented Dec 1, 2021

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

@praphael
Copy link

praphael commented Dec 1, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants