Skip to content
Permalink
Browse files
No need to symlink python, done in base image now
  • Loading branch information
jc21 committed Jan 11, 2022
1 parent 818b959 commit 5fb0cc5faba0c44eb6e17ef9ad6103fbd15c6c3b
Showing with 3 additions and 3 deletions.
  1. +3 −3 Jenkinsfile
@@ -62,14 +62,14 @@ pipeline {
stage('Backend') {
steps {
echo 'Checking Syntax ...'
sh 'docker pull node:latest'
sh 'docker pull nginxproxymanager/nginx-full:certbot-node'
// See: https://github.com/yarnpkg/yarn/issues/3254
sh '''docker run --rm \\
-v "$(pwd)/backend:/app" \\
-v "$(pwd)/global:/app/global" \\
-w /app \\
node:latest \\
sh -c "ln -s /usr/bin/python3 /usr/bin/python && yarn install && yarn eslint . && rm -rf node_modules"
nginxproxymanager/nginx-full:certbot-node \\
sh -c "yarn install && yarn eslint . && rm -rf node_modules"
'''

echo 'Docker Build ...'

0 comments on commit 5fb0cc5

Please sign in to comment.