Skip to content

Commit 7ded7da

Browse files
author
Antonio Salinas
authored
fix: Fixed devcontainer to support latest microsoft go version (#349)
* Enabled C in Go support for msft go ver 15
1 parent 5879f59 commit 7ded7da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.devcontainer/Dockerfile.AZL-3.0

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM mcr.microsoft.com/azurelinux/base/core:3.0
22

33
# Install required packages
44
RUN tdnf -y update && \
5-
tdnf -y install ca-certificates dnf dnf-utils which gh git golang gawk tar shadow-utils sudo tree bash-completion moby-engine moby-cli && \
5+
tdnf -y install ca-certificates dnf dnf-utils which gh git golang gawk tar shadow-utils sudo tree bash-completion moby-engine moby-cli build-essential && \
66
tdnf clean all
77

88
# Define the 'll' alias for all users
@@ -27,6 +27,7 @@ USER azldev
2727

2828
# Set the Go environment
2929
ENV PATH="/home/azldev/go/bin:${PATH}"
30+
ENV CGO_ENABLED=1
3031

3132
# Install "mage"
3233
RUN go install github.com/magefile/mage@latest

0 commit comments

Comments
 (0)