fix: missing golang from goland image (#115)
Co-authored-by: G r e y <grey@coder.com>
This commit is contained in:
parent
63c171012f
commit
046e76ed47
|
@ -1,8 +1,18 @@
|
||||||
FROM codercom/enterprise-multieditor:centos
|
FROM codercom/enterprise-golang:centos
|
||||||
|
|
||||||
# Run everything as root
|
# Run everything as root
|
||||||
USER 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.
|
# Install goland.
|
||||||
RUN mkdir -p /opt/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 -
|
RUN curl -L "https://download.jetbrains.com/product?code=GO&latest&distribution=linux" | tar -C /opt/goland --strip-components 1 -xzvf -
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
FROM codercom/enterprise-multieditor:ubuntu
|
FROM codercom/enterprise-golang:ubuntu
|
||||||
|
|
||||||
# Run everything as root
|
# Run everything as root
|
||||||
USER 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.
|
# Install goland.
|
||||||
RUN mkdir -p /opt/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 -
|
RUN curl -L "https://download.jetbrains.com/product?code=GO&latest&distribution=linux" | tar -C /opt/goland --strip-components 1 -xzvf -
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
## Description
|
## 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.
|
installation.
|
||||||
|
|
||||||
## How To Use It
|
## How To Use It
|
||||||
|
|
Loading…
Reference in New Issue