UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
A
aiml
jupyter
jaic-notebook
Commits
2a1c4c94
Commit
2a1c4c94
authored
Jun 01, 2021
by
Matt Vasquez
Browse files
update Dockerfile with python location change
parent
a97e9a7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
Dockerfile
Dockerfile
+6
-4
No files found.
Dockerfile
View file @
2a1c4c94
...
@@ -11,11 +11,13 @@ ENV USER=jovyan
...
@@ -11,11 +11,13 @@ ENV USER=jovyan
COPY
--chown=$USER *.whl *.tar.gz *.zip /tmp/packages/
COPY
--chown=$USER *.whl *.tar.gz *.zip /tmp/packages/
RUN
dnf
install
-y
hostname
xz-devel make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel sqlite-devel
&&
\
RUN
dnf
install
-y
hostname
xz-devel make gcc gcc-c++ openssl-devel bzip2-devel libffi-devel sqlite-devel
&&
\
rm
/usr/bin/python3
&&
\
rm
/usr/local/bin/python
&&
\
rm
/usr/local/bin/python3
&&
\
cd
/opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
&&
\
cd
/opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
&&
\
./configure
--enable-optimizations
&&
\
./configure
--enable-optimizations
&&
\
make altinstall
&&
\
make altinstall
&&
\
ln
-s
/opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
/python /usr/bin/python3
&&
\
ln
-s
/opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
/python /usr/local/bin/python
&&
\
ln
-s
/opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
/python /usr/local/bin/python3
&&
\
mkdir
/envs
&&
\
mkdir
/envs
&&
\
chown
-R
$USER
:users /envs
chown
-R
$USER
:users /envs
...
@@ -31,12 +33,12 @@ COPY --chown=$USER envs/jaic-mf/* /envs/jaic-mf/
...
@@ -31,12 +33,12 @@ COPY --chown=$USER envs/jaic-mf/* /envs/jaic-mf/
RUN
python
-m
pip
install
-U
--no-deps
--no-index
-f
/tmp/packages/
-r
/tmp/requirements.txt
&&
\
RUN
python
-m
pip
install
-U
--no-deps
--no-index
-f
/tmp/packages/
-r
/tmp/requirements.txt
&&
\
cd
/envs
&&
\
cd
/envs
&&
\
cd
/envs/jaic-df
&&
\
cd
/envs/jaic-df
&&
\
poetry
env
use /
opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
/python
&&
\
poetry
env
use /
usr/local/bin
/python
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-df/requirements.txt
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-df/requirements.txt
&&
\
poetry run python
-m
ipykernel
install
--user
--name
jaic-df
--display-name
"Data Factory"
&&
\
poetry run python
-m
ipykernel
install
--user
--name
jaic-df
--display-name
"Data Factory"
&&
\
cd
/envs
&&
\
cd
/envs
&&
\
cd
/envs/jaic-mf
&&
\
cd
/envs/jaic-mf
&&
\
poetry
env
use /
opt/Python-
"
$(
python
--version
|
awk
'{print $2}'
)
"
/python
&&
\
poetry
env
use /
usr/local/bin
/python
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-mf/build-requirements.txt
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-mf/build-requirements.txt
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-mf/requirements.txt
&&
\
poetry run python
-m
pip
install
--no-deps
--no-index
-f
/tmp/packages/
-r
/envs/jaic-mf/requirements.txt
&&
\
poetry run python
-m
ipykernel
install
--user
--name
jaic-mf
--display-name
"Model Factory"
&&
\
poetry run python
-m
ipykernel
install
--user
--name
jaic-mf
--display-name
"Model Factory"
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment