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
c1d42453
Commit
c1d42453
authored
4 years ago
by
jgoldste
Browse files
Options
Downloads
Patches
Plain Diff
SSA-6324: trhing to resolve package conflicts
parent
96a821ae
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
apps/cli/executables/datafetcher/test/Dockerfile
+7
-6
7 additions, 6 deletions
apps/cli/executables/datafetcher/test/Dockerfile
apps/cli/executables/datafetcher/test/docker-build.sh
+2
-1
2 additions, 1 deletion
apps/cli/executables/datafetcher/test/docker-build.sh
with
9 additions
and
7 deletions
apps/cli/executables/datafetcher/test/Dockerfile
+
7
−
6
View file @
c1d42453
...
...
@@ -4,14 +4,14 @@
# use docker_build.sh:
# from apps/cli/executables/datafetcher,
#
# ./docker_build
,
sh datafetcher_test[:N]
# ./docker_build
.
sh datafetcher_test[:N]
#
# where '-t' specifies a name and N' is the version.
# (If ':N' is omitted, version is 'latest' by default.)
# tag is not required for the build, but without it
#the container name is an unhelpful hexadecimal value.
FROM
continuumio/miniconda3
FROM
continuumio/miniconda3
:latest
# get what we'll need for the build
COPY
. .
...
...
@@ -23,11 +23,12 @@ COPY test/ .
# TODO: figure out a way to genericize this;
# may need to have docker_build.sh write this Dockerfile
# so it can update the PATH dynamically
ENV
PATH /Users/jgoldste/miniconda3/bin/conda:$PATH
# ENV PATH /Users/jgoldste/miniconda3/bin/conda:$PATH
ENV
PATH $HOME/miniconda3/bin/conda:$PATH
# docker_build.sh should have copied environment.yml from data/
RUN
echo
$(
ls
-l
./environment.yml
)
RUN
[
"
conda
"
,
"env"
,
"create"
,
"-f"
,
"environment.yml"
]
# docker_build.sh should have copied environment.yml from data/
;
# it will be used in the command below
RUN
conda
env
update
# environment.yml has name "data"
RUN
[
"conda"
,
"activate"
,
"data"
]
...
...
This diff is collapsed.
Click to expand it.
apps/cli/executables/datafetcher/test/docker-build.sh
+
2
−
1
View file @
c1d42453
...
...
@@ -45,7 +45,8 @@ cp ${SOURCE} ${NEW_FILE}
# remove extended attributes, which would cause Capo to balk
/usr/bin/xattr
-c
${
NEW_FILE
}
docker build
.
-f
test
/Dockerfile
--no-cache
-t
${
CONTAINER_NAME
}
# don't use anything cached, including the FROM image
docker build
.
-f
test
/Dockerfile
--no-cache
-t
${
CONTAINER_NAME
}
--pull
# now get rid of the properties file; containing sensitive info, it must NOT be saved or committed
rm
-f
${
NEW_FILE
}
...
...
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