-
Notifications
You must be signed in to change notification settings - Fork 17
Upgrading the actions version,LTS version of node #101
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
Open
Veer0x1
wants to merge
12
commits into
PecanProject:master
Choose a base branch
from
Veer0x1:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f5071a7
Upgrading the actions version,LTS version of node
Veer0x1 dc58e00
testing interface_test.yml
Veer0x1 81db030
testing py_test.yml
Veer0x1 3b100ea
py_test 1
Veer0x1 a96eaa4
changing psycopg2-binary to psycopg2
Veer0x1 59aa84c
adding libpq-dev dependency
Veer0x1 4e06b52
mentioned version
Veer0x1 ded6aea
changes version
Veer0x1 df0e954
installing python-dev
Veer0x1 d1b966f
changed geopandas version from 0.5.0 to 0.6.1
Veer0x1 582f7e3
manually downloading GDAL and Fiona
Veer0x1 ee8b3b6
exporting the config of gdal
Veer0x1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,25 @@ | ||
| FROM python:3.7.2-slim | ||
|
|
||
| RUN apt-get update && apt-get install -y \ | ||
| git \ | ||
| sudo \ | ||
| libpq-dev \ | ||
| python-dev | ||
|
|
||
| RUN adduser --disabled-password --gecos '' myuser && \ | ||
| chown -R myuser:myuser /usr/local/lib/python3.7/site-packages && \ | ||
| echo "myuser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
|
|
||
| COPY . /code | ||
|
|
||
| WORKDIR /code | ||
|
|
||
| RUN apt-get update && apt-get install -y \ | ||
| git | ||
|
|
||
| RUN pip install git+https://github.com/aleju/imgaug --no-deps &&\ | ||
| pip install GDAL\ | ||
| export PATH=/usr/bin/gdal-config:$PATH\ | ||
| pip install Fiona\ | ||
| pip install -r requirements.txt | ||
|
|
||
| USER myuser | ||
|
|
||
| CMD ["python","server.py"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,5 +8,5 @@ jsonschema==3.2.0 | |
| Flask==1.0 | ||
| Werkzeug==0.15.3 | ||
| SQLAlchemy==1.3.0 | ||
| geopandas==0.5.0 | ||
| geopandas==0.6.1 | ||
| PyYAML==5.4 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is giving myuser sudo permissions without a password a potential security vulnerability?
What is the goal here?