-
Notifications
You must be signed in to change notification settings - Fork 1
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
#89 setup whyis docker container #110
Merged
Merged
Conversation
This file contains 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
jpmccu
requested review from
roryschadler,
aswallace and
stouffers
as code owners
February 11, 2022 22:13
tholulomo
reviewed
Mar 11, 2022
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.
Left few comments
Just noticed line 2 is a system install. |
tholulomo
approved these changes
Apr 4, 2022
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.
#accepted
It's actually installed in /opt/venv with everything else.
…On Mon, Apr 4, 2022 at 4:31 PM tholulomo ***@***.***> wrote:
***@***.**** approved this pull request.
#accepted
------------------------------
In whyis/Dockerfile.dev
<#110 (comment)>
:
> -FROM ubuntu:20.04 as dependencies
-RUN apt-get update && apt-get install -y software-properties-common gcc
-
-RUN apt-get update && apt-get install -y \
- python3.8-distutils \
- python3.8-dev \
- python3-pip \
- python3.8-venv \
- curl \
- libdb5.3-dev \
- default-jdk-headless
-RUN python3.8 -m venv /opt/venv
-RUN /opt/venv/bin/pip install requests>=2.27.1 wheel gunicorn
-RUN /opt/venv/bin/pip install whyis==2.0b1 whyis-unit-converter==0.0.2
+FROM tetherlessworld/whyis:latest
+RUN /opt/venv/bin/pip install whyis-unit-converter==0.0.2
WORKDIR '/app'
I think WORKDIR '/app' should be in line 2 to ensure that Whyis unit
converter is installed in the appropriate directory. Ignore if it's
confirmed that the unit-converter is installed in the app dir
—
Reply to this email directly, view it on GitHub
<#110 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAETCEJXNAXLWWTUYXSZ6SLVDNGS7ANCNFSM5OFPLZTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Jamie McCusker (she/they)
Director, Data Operations
Tetherless World Constellation
Rensselaer Polytechnic Institute
***@***.*** ***@***.***>
http://tw.rpi.edu
|
aswallace
reviewed
Apr 5, 2022
aswallace
approved these changes
Apr 5, 2022
kevinzunigacuellar
approved these changes
Apr 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #89.