fix: missing golang from goland image (#115)

Co-authored-by: G r e y <grey@coder.com>
This commit is contained in:
Mark 2021-11-30 09:15:22 -06:00 committed by GitHub
parent 63c171012f
commit 046e76ed47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View File

@ -1,8 +1,18 @@
FROM codercom/enterprise-multieditor:centos
FROM codercom/enterprise-golang:centos
# Run everything as root
USER root
# Packages required for multi-editor support
RUN yum update -y && yum install -y \
openssl \
libXtst \
libXrender \
fontconfig \
libXi \
gtk3 \
libGL
# Install goland.
RUN mkdir -p /opt/goland
RUN curl -L "https://download.jetbrains.com/product?code=GO&latest&distribution=linux" | tar -C /opt/goland --strip-components 1 -xzvf -

View File

@ -1,8 +1,16 @@
FROM codercom/enterprise-multieditor:ubuntu
FROM codercom/enterprise-golang:ubuntu
# Run everything as root
USER root
# Packages required for multi-editor support
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y \
libxtst6 \
libxrender1 \
libfontconfig1 \
libxi6 \
libgtk-3-0
# Install goland.
RUN mkdir -p /opt/goland
RUN curl -L "https://download.jetbrains.com/product?code=GO&latest&distribution=linux" | tar -C /opt/goland --strip-components 1 -xzvf -

View File

@ -4,7 +4,7 @@
## Description
Wraps [enterprise-multieditor](../multieditor/README.md) with GoLand
Wraps [enterprise-golang](../golang/README.md) and includes [required multi-editor dependencies](https://enterprise.coder.com/docs/installing-an-ide-onto-your-image#required-packages) with GoLand
installation.
## How To Use It