docker-hub-frolvlad / docker-alpine-miniconda3 Goto Github PK
View Code? Open in Web Editor NEWThe smallest Docker image with Miniconda3 (Python 3.7) (~143MB)
Home Page: https://hub.docker.com/r/frolvlad/alpine-miniconda3/
License: MIT License
The smallest Docker image with Miniconda3 (Python 3.7) (~143MB)
Home Page: https://hub.docker.com/r/frolvlad/alpine-miniconda3/
License: MIT License
Hi frol,
Thanks for you image which I used to build a small runner for gitlab-ci.
I just realized that I cannot use conda environment because "source activate" need to be ran from bash. (I'll add bash to my image)
How do you use conda without bash ?
Sébastien
I am trying to use your nice image but sadly it doesn't seem to work anymore. When I try to build the image from your dockerfile i get the following error:
=> ERROR [3/3] RUN echo "**** install dev packages ****" && apk add --no-cache --virtual .build-dependencies bash ca-certificates wget && 7.3s
------
> [3/3] RUN echo "**** install dev packages ****" && apk add --no-cache --virtual .build-dependencies bash ca-certificates wget && echo "**** get Miniconda ****" && mkdir -p "/opt/conda" && wget "http://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh" -O miniconda.sh && echo "81c773ff87af5cfac79ab862942ab6b3 miniconda.sh" | md5sum -c && echo "**** install Miniconda ****" && bash miniconda.sh -f -b -p "/opt/conda" && echo "export PATH=/opt/conda/bin:$PATH" > /etc/profile.d/conda.sh && echo "**** setup Miniconda ****" && conda update --all --yes && conda config --set auto_update_conda False && echo "**** cleanup ****" && apk del --purge .build-dependencies && rm -f miniconda.sh && conda clean --all --force-pkgs-dirs --yes && find "/opt/conda" -follow -type f ( -iname '*.a' -o -iname '*.pyc' -o -iname '*.js.map' ) -delete && echo "**** finalize ****" && mkdir -p "/opt/conda/locks" && chmod 777 "/opt/conda/locks": <br>
#6 0.345 **** install dev packages **** <br>
#6 0.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz <br>
#6 0.582 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz <br>
#6 0.817 (1/5) Installing ca-certificates (20220614-r0) <br>
#6 0.857 (2/5) Installing libunistring (1.0-r0) <br>
#6 0.931 (3/5) Installing libidn2 (2.3.2-r2) <br>
#6 0.955 (4/5) Installing wget (1.21.3-r0) <br>
#6 0.996 (5/5) Installing .build-dependencies (20221026.153546) <br>
#6 0.996 Executing busybox-1.35.0-r13.trigger <br>
#6 1.002 Executing ca-certificates-20220614-r0.trigger <br>
#6 1.028 Executing glibc-bin-2.35-r0.trigger <br>
#6 1.045 OK: 20 MiB in 27 packages <br>
#6 1.075 **** get Miniconda **** <br>
#6 1.077 --2022-10-26 15:35:46-- http://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh <br>
#6 1.077 Resolving repo.continuum.io (repo.continuum.io)... 104.18.201.79, 104.18.200.79, 2606:4700::6812:c94f, ... <br>
#6 1.084 Connecting to repo.continuum.io (repo.continuum.io)|104.18.201.79|:80... connected. <br>
#6 1.100 HTTP request sent, awaiting response... 301 Moved Permanently <br>
#6 1.133 Location: https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh [following] <br>
#6 1.133 --2022-10-26 15:35:46-- https://repo.anaconda.com/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh <br>
#6 1.141 Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.130.3, 104.16.131.3, 2606:4700::6810:8203, ... <br>
#6 1.157 Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.130.3|:443... connected. <br>
#6 1.190 HTTP request sent, awaiting response... 200 OK <br>
#6 1.231 Length: 71785000 (68M) [application/x-sh] <br>
#6 1.231 Saving to: 'miniconda.sh' <br>
(conda download) <br>
#6 6.879 2022-10-26 15:35:52 (12.1 MB/s) - 'miniconda.sh' saved [71785000/71785000] <br>
#6 6.879 <br>
#6 6.980 miniconda.sh: OK <br>
#6 6.980 **** install Miniconda **** <br>
#6 6.986 PREFIX=/opt/conda <br>
#6 7.212 Unpacking payload ... <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __strcat_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __snprintf_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __vfprintf_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __strdup: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __stpcpy_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __vsnprintf_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __strncpy_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __strcpy_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __fprintf_chk: symbol not found <br>
#6 7.213 Error relocating /opt/conda/conda.exe: __strncat_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __strcat_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __snprintf_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __vfprintf_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __strdup: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __stpcpy_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __vsnprintf_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __strncpy_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __strcpy_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __fprintf_chk: symbol not found <br>
#6 7.214 Error relocating /opt/conda/conda.exe: __strncat_chk: symbol not found <be>
I build it with the normal docker build command
docker build -t testimage:latest .
Any Idea why this is failing?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.