# Fully bootstrapping Go from source in Wolfi

DevFeed: [Fully bootstrapping Go from source in Wolfi](<https://devfeed.tech/articles/fully-bootstrapping-go-from-source-in-wolfi-13053.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/fully-bootstrapping-go-from-source-in-wolfi>)

Published: 2023-08-11T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Go](<https://devfeed.tech/topics/go.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [gcc](<https://devfeed.tech/topics/gcc.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [backdoor](<https://devfeed.tech/topics/backdoor.md>)

Tags: [backdoor](<https://devfeed.tech/tags/backdoor.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [bootstrapping](<https://devfeed.tech/tags/bootstrapping.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [go](<https://devfeed.tech/tags/go.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [source](<https://devfeed.tech/tags/source.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>), [wolfi](<https://devfeed.tech/tags/wolfi.md>)

## AI overview

The article explains how to fully bootstrap Go from source in Wolfi to improve provenance and reduce trust risks associated with pre-built binaries. It describes using the C++-based gcc-go or gollvm implementations to build the official Go toolchain without requiring an existing Go compiler.

## Source excerpt

Dive into fully bootstrapping Go from source in Wolfi, paving the way for secure, independent development.