Last active
May 5, 2024 18:14
-
-
Save ShawkyZ/634771fcd8815a2b08e7fddf940941b8 to your computer and use it in GitHub Desktop.
Node 18 with Go 1.22.2 Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:18-alpine3.18 | |
ARG GOLANG_VERSION=1.22.2 | |
RUN wget https://go.dev/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz && \ | |
rm -rf /usr/local/go && tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz && \ | |
rm go${GOLANG_VERSION}.linux-amd64.tar.gz | |
ENV PATH="${PATH}:/usr/local/go/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment