-
Notifications
You must be signed in to change notification settings - Fork 36
Update base image, pip, add pip cache. #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,17 +5,19 @@ | |
| # Run the container with: | ||
| # docker run --rm -it -v `pwd`:/src eccodes-python | ||
| # | ||
| FROM bopen/ubuntu-pyenv:latest | ||
| FROM python:3.9-slim | ||
|
|
||
| ARG DEBIAN_FRONTEND="noninteractive" | ||
|
|
||
| RUN apt-get -y update && apt-get install -y --no-install-recommends \ | ||
| build-essential \ | ||
| libeccodes0 \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| COPY . /src/ | ||
|
|
||
| RUN cd /src \ | ||
| RUN --mount=type=cache,target=/root/.cache/pip cd /src \ | ||
|
ways marked this conversation as resolved.
|
||
| && pip install --upgrade pip \ | ||
|
ways marked this conversation as resolved.
Outdated
|
||
| && make local-install-test-req \ | ||
| && make local-develop \ | ||
| && make local-install-dev-req \ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.