Skip to content

Commit fc2eba8

Browse files
committed
Code server upgraded to 3.2.0
1 parent d226864 commit fc2eba8

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

Dockerfile

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@ FROM selenium/standalone-chrome:latest
22

33
# Variables
44
ENV MAVEN_VERSION=3.6.0 \
5-
MAVEN_HOME=/usr/lib/mvn \
6-
NODE_VERSION=10.14.2 \
7-
SHELL=/bin/bash \
8-
LANG=en_US.UTF-8 \
9-
CSVER=3.1.0 \
10-
GAUGE_VER=1.0.8 \
11-
VAULT_VER=1.3.4 \
12-
PATH=$MAVEN_HOME/bin:/usr/local/bin:$PATH
5+
MAVEN_HOME=/usr/lib/mvn \
6+
NODE_VERSION=10.14.2 \
7+
SHELL=/bin/bash \
8+
LANG=en_US.UTF-8 \
9+
CSVER=3.2.0 \
10+
GAUGE_VER=1.0.8 \
11+
VAULT_VER=1.3.4 \
12+
PATH=$MAVEN_HOME/bin:/usr/local/bin:$PATH
1313

1414
COPY docker-entrypoint.sh /usr/local/bin/
1515

1616
# Packages
1717
USER root
1818
RUN apt-get update \
19-
&& apt-get install -y openjdk-11-jdk \
20-
curl \
21-
dumb-init \
22-
&& curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - \
23-
&& apt-get install -y \
24-
nodejs \
25-
maven \
26-
net-tools \
27-
git \
28-
&& apt-get clean \
29-
&& rm -rf /var/lib/apt/lists/* \
30-
&& rm -rf /var/cache/oracle-jdk11-installer \
31-
&& npm install -g npmlog
19+
&& apt-get install -y openjdk-11-jdk \
20+
curl \
21+
dumb-init \
22+
&& curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - \
23+
&& apt-get install -y \
24+
nodejs \
25+
maven \
26+
net-tools \
27+
git \
28+
&& apt-get clean \
29+
&& rm -rf /var/lib/apt/lists/* \
30+
&& rm -rf /var/cache/oracle-jdk11-installer \
31+
&& npm install -g npmlog
3232

3333
# https://wiki.debian.org/Locale#Manually
3434
RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen \
@@ -38,28 +38,28 @@ RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen \
3838

3939
# Install Vault
4040
RUN curl -SsL -o vault.zip https://releases.hashicorp.com/vault/${VAULT_VER}/vault_${VAULT_VER}_linux_amd64.zip \
41-
&& unzip -q vault.zip \
42-
&& cp ./vault /usr/local/bin/
41+
&& unzip -q vault.zip \
42+
&& cp ./vault /usr/local/bin/
4343

4444

4545
# Install Gauge
4646
RUN curl -SsL -o gauge.zip https://github.com/getgauge/gauge/releases/download/v${GAUGE_VER}/gauge-${GAUGE_VER}-linux.x86_64.zip \
47-
&& unzip -q gauge.zip \
48-
&& cp ./gauge /usr/local/bin/ \
49-
&& cd ../tmp \
50-
&& rm -rf tmp \
51-
&& gauge install java \
52-
&& gauge install js \
53-
&& gauge install screenshot \
54-
&& gauge install html-report \
55-
&& gauge install xml-report
47+
&& unzip -q gauge.zip \
48+
&& cp ./gauge /usr/local/bin/ \
49+
&& cd ../tmp \
50+
&& rm -rf tmp \
51+
&& gauge install java \
52+
&& gauge install js \
53+
&& gauge install screenshot \
54+
&& gauge install html-report \
55+
&& gauge install xml-report
5656

5757
# Install fixuid
5858
RUN curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.4/fixuid-0.4-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - \
59-
&& chown root:root /usr/local/bin/fixuid \
60-
&& chmod 4755 /usr/local/bin/fixuid \
61-
&& mkdir -p /etc/fixuid \
62-
&& printf "user: seluser\ngroup: seluser\n" > /etc/fixuid/config.yml
59+
&& chown root:root /usr/local/bin/fixuid \
60+
&& chmod 4755 /usr/local/bin/fixuid \
61+
&& mkdir -p /etc/fixuid \
62+
&& printf "user: seluser\ngroup: seluser\n" > /etc/fixuid/config.yml
6363

6464
# Install Code-Server
6565
RUN cd /tmp && \

0 commit comments

Comments
 (0)