FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-flopy-parser/Dockerfile at master · bdestombe/python-flopy-parser · GitHub
bdestombe
/
python-flopy-parser
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
13
Code
Issues
2
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python-flopy-parser
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (16 loc) · 851 Bytes
Breadcrumbs
python-flopy-parser
/
Dockerfile
Copy path
File metadata and controls
25 lines (16 loc) · 851 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM
python:3.6.1-alpine
ADD
https://github.com/alexellis/faas/releases/download/0.5.1-alpha/fwatchdog /usr/bin
RUN
chmod +x /usr/bin/fwatchdog
WORKDIR
/root/
RUN
apk add --update curl gcc g++ \
&& rm -rf /var/cache/apk/*
RUN
ln -s /usr/include/locale.h /usr/include/xlocale.h
RUN
pip install numpy
#
First install and let the dependencies be cached in a layer
#
Then upgrade the flopyparser package every build, also when version number hasnt changed,
#
without upgrading the dependencies
RUN
pip install https://github.com/bdestombe/python-flopy-parser/zipball/master
RUN
pip install --upgrade --no-deps --force-reinstall https://github.com/bdestombe/python-flopy-parser/zipball/master
ENV
fprocess=
"flopyparser --outbase64file - --inbase64file - --logfile -"
HEALTHCHECK
--interval=1s CMD [ -e /tmp/.lock ] || exit 1
CMD
[
"fwatchdog"
]
Back
|
FazBrowse Home
|
New Git URL