Skip to content

Commit 5fb0cc5

Browse files
committed
No need to symlink python, done in base image now
1 parent 818b959 commit 5fb0cc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Jenkinsfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ pipeline {
6262
stage('Backend') {
6363
steps {
6464
echo 'Checking Syntax ...'
65-
sh 'docker pull node:latest'
65+
sh 'docker pull nginxproxymanager/nginx-full:certbot-node'
6666
// See: https://github.com/yarnpkg/yarn/issues/3254
6767
sh '''docker run --rm \\
6868
-v "$(pwd)/backend:/app" \\
6969
-v "$(pwd)/global:/app/global" \\
7070
-w /app \\
71-
node:latest \\
72-
sh -c "ln -s /usr/bin/python3 /usr/bin/python && yarn install && yarn eslint . && rm -rf node_modules"
71+
nginxproxymanager/nginx-full:certbot-node \\
72+
sh -c "yarn install && yarn eslint . && rm -rf node_modules"
7373
'''
7474

7575
echo 'Docker Build ...'

0 commit comments

Comments
 (0)