Comments (2)
You are correct that we need to update the documentation if you are trying to add on the layer outside of using the root level build.sh
script. You would need to run the docker build
process twice using each of the Docker files that are available. The logic looks like it is not as forgiving as it needs to be in the Dockerfile_http. We will probably need to introduce a new build argument to indicate if we are supporting a single or multiple container to make this work. Assuming that you are trying to create a single container, you could do something like:
docker build --file Dockerfile --build-arg BASEIMAGE=viya-single-container --build-arg BASETAG=latest . --tag viya-single-container:jpy3
docker build --file Dockerfile --build-arg BASEIMAGE=viya-single-container --build-arg BASETAG=jpy3 . --tag svc-ide-jupyter-python3
If you are using the multi-container flow, this proxy.conf file needs to be added to the httpproxy Docker image.
from sas-container-recipes.
Thanks @g8sman! Yes, I'm not using the build.sh script - should have mentioned that before. I think there's a typo in your explanation. The first build should be using Dockerfile_http, right?
This works for me:
docker build --file Dockerfile_http --build-arg BASEIMAGE=viya-single-container --build-arg BASETAG=latest . --tag viya-single-container:jpy3
docker build --file Dockerfile --build-arg BASEIMAGE=viya-single-container --build-arg BASETAG=jpy3 . --tag svc-ide-jupyter-python3
Then I headed over to addons/auth-demo for example and did
docker build --file Dockerfile --build-arg BASEIMAGE=svc-ide-jupyter-python3 --build-arg BASETAG=latest . --tag svc-auth-demo
Thanks for the explanation, I'm fine with that.
from sas-container-recipes.
Related Issues (20)
- ingress manifest remove static namespace entry
- Cannot create Kubernetes namespace
- Ansible version check failed HOT 1
- Unable to run SAS code in Docker container-no permission for library SASHELP
- Cannot find inventory.ini section with container names HOT 2
- regexNoSpecialCharacters in order.go does not like a hyphen "-" altough doc says is allowed HOT 2
- panic: runtime error: index out of range HOT 7
- Ansible is not being installed for Centos:7 based microservice images HOT 1
- environment manager not showing the cas worker nodes
- Docker container Image starting as root user
- github.com/docker/docker/client source not working
- Issue with SAS Viya Full deployment HOT 1
- build.sh hangs when docker user has large uid
- build error HOT 1
- On login attempt: "The launch of the server process failed because of an invalid or inaccessible SASUSER library" HOT 1
- getting error with build the container
- rm: cannot remove β/etc/security/limits.d/20-nproc.confβ: No such file or directory HOT 6
- curl#18 - "transfer closed with XXXXXXX bytes remaining to read HOT 2
- viya-single-container running on K8S cluster cannot apply a new SAS license without rebuild HOT 1
- SAS Viya - running on a single container - build error - certificates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sas-container-recipes.