Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Diederich
FOSSA With Cache
Commits
dfb24c2d
Commit
dfb24c2d
authored
Feb 08, 2022
by
David Diederich
Browse files
Merge branch 'python-3.8' into 'main'
Adding in explicit python version See merge request
!2
parents
1337de3a
3a2ead24
Pipeline
#92829
passed with stages
in 2 minutes and 59 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
dfb24c2d
FROM
maven:3.6.3-jdk-8
RUN
apt-get update
&&
apt-get
install
-y
python3-venv python3-pip npm
RUN
apt-get update
&&
apt-get
install
-y
npm
ENV
PYTHON_VERSION 3.8.12
RUN
apt-get
install
-y
build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev
RUN
curl
--output
/tmp/Python-
${
PYTHON_VERSION
}
https://www.python.org/ftp/python/
${
PYTHON_VERSION
}
/Python-
${
PYTHON_VERSION
}
.tgz
RUN
tar
-xzf
/tmp/Python-
${
PYTHON_VERSION
}
-C
/tmp
RUN
cd
/tmp/Python-
${
PYTHON_VERSION
}
&&
./configure
--enable-optimizations
&&
make
install
ENV
TAG v1.1.10
RUN
curl https://raw.githubusercontent.com/fossas/fossa-cli/
$TAG
/install.sh | bash
-s
$TAG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment