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
001a0a3d
Commit
001a0a3d
authored
4 years ago
by
Daniel Lyons
Browse files
Options
Downloads
Patches
Plain Diff
Reduce the size of the docker image using conda clean
parent
0e41dc3b
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
Dockerfile
+5
-3
5 additions, 3 deletions
Dockerfile
schema/Dockerfile
+1
-1
1 addition, 1 deletion
schema/Dockerfile
with
6 additions
and
4 deletions
Dockerfile
+
5
−
3
View file @
001a0a3d
...
...
@@ -3,8 +3,10 @@ FROM continuumio/miniconda3
RUN
apt-get
install
make
WORKDIR
/code
COPY
environment.yml environment.yml
RUN
conda
env
update
COPY
. .
RUN
conda run
-n
data make python-setup-develop
RUN
conda
env
update
\
&&
conda clean
-afy
WORKDIR
/root/.capo
COPY
docker.properties .
WORKDIR
/code
COPY
. .
RUN
conda run
-n
data make python-setup-develop
\ No newline at end of file
This diff is collapsed.
Click to expand it.
schema/Dockerfile
+
1
−
1
View file @
001a0a3d
...
...
@@ -5,4 +5,4 @@ WORKDIR /code/schema
ENV
CAPO_PROFILE docker
ENV
PATH /opt/conda/envs/data/bin:$PATH
ENV
CONDA_DEFAULT_ENV data
ENTRYPOINT
alembic upgrade head
ENTRYPOINT
sleep 3 &&
alembic upgrade head
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