generated from Templates/Baseline
split install
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
This commit is contained in:
parent
6221565fa1
commit
9544b0eba2
17
Dockerfile
17
Dockerfile
@ -14,19 +14,6 @@ RUN \
|
||||
git config --system credential.helper store && \
|
||||
echo 'source /usr/share/bash-completion/completions/git' >> /etc/bash.bashrc
|
||||
|
||||
ADD finalize-codeserver.sh /usr/bin/
|
||||
RUN \
|
||||
echo "**** install dev runtimes ****" && \
|
||||
#curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash - && \
|
||||
# update already called by nodesource install script
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
# let the user install nodejs to save 800MB in image
|
||||
# nodejs \
|
||||
golang-go &&\
|
||||
echo "**** clean up ****" && \
|
||||
apt-get clean && \
|
||||
rm -rf \
|
||||
/config/* \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
||||
chmod +x /usr/bin/finalize-codeserver.sh
|
||||
|
15
finalize-codeserver.sh
Normal file
15
finalize-codeserver.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "**** install dev runtimes ****"
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
|
||||
apt-get install -y \
|
||||
nodejs \
|
||||
golang-go
|
||||
|
||||
echo "**** clean up ****"
|
||||
apt-get clean
|
||||
rm -rf \
|
||||
/config/* \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/*
|
Loading…
x
Reference in New Issue
Block a user