FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pytype/Dockerfile.dev at main · PearFarmer/pytype · GitHub
PearFarmer
/
pytype
Public
forked from
google/pytype
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pytype
/
Dockerfile.dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (16 loc) · 692 Bytes
Breadcrumbs
pytype
/
Dockerfile.dev
Copy path
File metadata and controls
21 lines (16 loc) · 692 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
FROM python:3.7
# Tests try to create /nonexistent/path directory expecting it to fail.
# However, the directory can be created inside docker since running as root.
# File with same name makes the directory creation fail and serves as a
# workaround.
RUN touch /nonexistent
WORKDIR /app
RUN apt-get update && apt-get install -y bison flex cmake
COPY requirements.txt .
RUN pip3 install --no-cache -r requirements.txt
COPY . .
RUN python build_scripts/build.py
# Expected usage is to mount a local directory inside the container that
# contains python files that are going to be tested against pytype.
# Additionally the image is well suited for automated tests.
ENTRYPOINT ["/bin/bash"]
Back
|
FazBrowse Home
|
New Git URL