Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Code analysis - Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Test
Code analysis - Python
Commits
f9ae58ba
Unverified
Commit
f9ae58ba
authored
4 years ago
by
Roman Azarenko
Browse files
Options
Downloads
Patches
Plain Diff
Switch to python 3.6-slim image, add lxml and requests
parent
bf75cacd
No related branches found
No related tags found
No related merge requests found
Pipeline
#19205
passed
4 years ago
Stage: Docker build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+7
-5
7 additions, 5 deletions
Dockerfile
with
7 additions
and
5 deletions
Dockerfile
+
7
−
5
View file @
f9ae58ba
FROM
python:3
-alpine
FROM
python:3
.6-slim
RUN
apk update
&&
\
apk add bash git shellcheck curl
&&
\
git config
--global
credential.helper store
&&
\
pip
install
-U
flake8 pylint
RUN
export
DEBIAN_FRONTEND
=
noninteractive
&&
\
apt-get update
&&
\
apt-get
-y
install
bash git shellcheck curl libxml2 libxslt1.1
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
pip
install
-U
flake8 pylint lxml ast-to-xml requests
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment