Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
252e3fa2
Commit
252e3fa2
authored
4 years ago
by
Daniel Lyons
Browse files
Options
Downloads
Patches
Plain Diff
Trying multistage builds to make both workflow and capability. It happens but it isn't good
parent
90051690
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Condaless.dockerfile
+14
-4
14 additions, 4 deletions
Condaless.dockerfile
services/capability/requirements.txt
+18
-0
18 additions, 0 deletions
services/capability/requirements.txt
with
32 additions
and
4 deletions
Condaless.dockerfile
+
14
−
4
View file @
252e3fa2
FROM
python:3.8-slim
# We happen to expose this port
EXPOSE
3456:tcp
FROM
python:3.8-slim
AS
common
# Environment variables
ENV
PIP_NO_CACHE_DIR false
...
...
@@ -19,6 +16,9 @@ RUN apt-get update \
# Get the code into the image
WORKDIR
/code
COPY
. .
FROM
common
AS
workflow
EXPOSE
3456
WORKDIR
/code/services/workflow
# Python library installation
...
...
@@ -26,3 +26,13 @@ RUN pip install -r requirements.txt \
&&
python setup.py develop
ENTRYPOINT
pserve --reload development.ini
FROM
common
AS
capability
EXPOSE
3457
WORKDIR
/code/services/capability
# Python library installation
RUN
pip
install
-r
requirements.txt
\
&&
python setup.py develop
ENTRYPOINT
pserve --reload development.ini
\ No newline at end of file
This diff is collapsed.
Click to expand it.
services/capability/requirements.txt
0 → 100644
+
18
−
0
View file @
252e3fa2
# This file is intended to support the Condaless.dockerfile, not for actual development
# DO NOT MODIFY THIS FILE, THIS IS FOR DOCKER ONLY!
-e ../../shared/schema
-e ../../shared/channels
-e ../../shared/workspaces
-e ../../apps/cli/utilities/wf_monitor
pycapo == 0.3.0
pyramid == 1.10
pyramid_beaker == 0.8
pyramid_debugtoolbar == 4.5
pyramid_retry == 2.1.1
pyramid_tm == 2.2.1
requests == 2.23
sqlalchemy == 1.3
waitress == 1.4
zope.sqlalchemy == 1.1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment