mirror of
https://github.com/dragonheim/gagent.git
synced 2025-04-26 09:18:58 -07:00
Updated example for Prometheus, updated Go modules, and tweaked the devcontainer.
This commit is contained in:
parent
31c6551cce
commit
8fea3b2527
6 changed files with 57 additions and 27 deletions
|
@ -1,7 +1,7 @@
|
|||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.194.3/containers/go/.devcontainer/base.Dockerfile
|
||||
|
||||
# [Choice] Go version: 1, 1.16, 1.17
|
||||
ARG VARIANT="1.17"
|
||||
ARG VARIANT="1.18"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
|
||||
|
||||
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
|
||||
|
@ -9,9 +9,8 @@ ARG NODE_VERSION="none"
|
|||
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
|
||||
|
||||
# [Optional] Uncomment this section to install additional OS packages.
|
||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends libzmq3-dev libzmq5
|
||||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||
&& apt-get -y install --no-install-recommends libzmq3-dev libzmq5
|
||||
|
||||
# [Optional] Uncomment the next line to use go get to install anything else you need
|
||||
# RUN go get -x <your-dependency-or-tool>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue