Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
poquita
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
poquita
Commits
4d37857e
Commit
4d37857e
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Replace base image with Debian.
There are binary wheels of lxml for libc based OSes.
parent
4b10fda4
No related branches found
No related tags found
No related merge requests found
Pipeline
#1561
passed
4 years ago
Stage: .pre
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+13
-11
13 additions, 11 deletions
Dockerfile
with
13 additions
and
11 deletions
Dockerfile
+
13
−
11
View file @
4d37857e
# hadolint ignore=DL3006
# hadolint ignore=DL3006
FROM
registry.shore.co.il/cron
as
supersonic
FROM
registry.shore.co.il/cron
as
supersonic
FROM
registry.hub.docker.com/library/python:3.6-
alpine3.13
FROM
registry.hub.docker.com/library/python:3.6-
slim-buster
COPY
--from=supersonic /usr/local/bin/supersonic /usr/local/bin/
COPY
--from=supersonic /usr/local/bin/supersonic /usr/local/bin/
# hadolint ignore=DL3018
# hadolint ignore=DL3008,DL3013
RUN
apk add
--update
--no-cache
--repository
http://dl-cdn.alpinelinux.org/alpine/edge/testing/
\
RUN
apt-get update
&&
\
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
git
\
gosu
\
gosu
\
;
libxml2
\
# hadolint ignore=DL3013
libxslt1.1
\
RUN
pip
install
--no-cache-dir
pipenv
procps
\
wget
\
&&
\
rm
-rf
/tmp/
*
/var/tmp/
*
/var/cache/apt/archives/
*
/var/lib/apt/lists/
*
&&
\
pip
install
--no-cache-dir
pipenv
WORKDIR
/poquita
WORKDIR
/poquita
ENV
HOME /poquita
ENV
HOME /poquita
COPY
Pipfile* ./
COPY
Pipfile* ./
# hadolint ignore=DL3018
RUN
pipenv
install
--deploy
--system
RUN
apk add
--update
--no-cache
--virtual
.lxml-build build-base git libxslt-dev
&&
\
pipenv
install
--deploy
--system
&&
\
apk del .lxml-build
&&
\
apk add
--update
--no-cache
--virtual
.lxml-runtime libxml2 libxslt
RUN
mkdir
--mode
777 db Podcasts
RUN
mkdir
--mode
777 db Podcasts
COPY
--chown=root:root crontab ./
COPY
--chown=root:root crontab ./
COPY
--chown=root:root poca.xml ./
COPY
--chown=root:root poca.xml ./
...
...
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