pipeline {
    agent {
        docker {
            image 'python:3.10-alpine3.14'
            args '--rm --name playlist-testing'
        }
    }
    stages {
        stage('Test') {
            steps {
                sh 'echo ${USER}'
                sh 'set'
                sh 'pip3 install -U pip'
                sh 'pip3 install wheel nox nox_poetry poetry'
                sh 'nox --version'
                sh 'poetry --version'
            }
        }
    }
}
