Skip to content

Instantly share code, notes, and snippets.

@rinze
Last active September 23, 2022 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinze/0d78263d480526c8cb3ab90aa0fc3e6a to your computer and use it in GitHub Desktop.
Save rinze/0d78263d480526c8cb3ab90aa0fc3e6a to your computer and use it in GitHub Desktop.
Files for kaniko issue #2261
FROM ubuntu:18.04
RUN apt-get update \
&& apt-get dist-upgrade -y \
&& apt-get install -y wget gcc g++ redis supervisor libgl1 sudo \
vim less htop \
webp libwebp-dev \
&& apt-get clean
RUN sudo sed -i '/^bind/s/bind.*/bind 0.0.0.0/' /etc/redis/redis.conf
RUN adduser --quiet --ingroup users ubuntu
RUN echo "ubuntu ALL=(ALL:ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/ubuntu
WORKDIR /home/ubuntu/code/poc
RUN chown -R ubuntu:users /home/ubuntu/code/poc
USER ubuntu
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh && \
chmod +x /tmp/miniconda.sh && \
/tmp/miniconda.sh -b && \
rm -f /tmp/miniconda.sh
ENV PATH=/home/ubuntu/miniconda3/bin:$PATH
COPY --chown=ubuntu:users environment.yaml environment.yaml
RUN conda env create -f environment.yaml && conda clean -a -y
RUN conda init bash
COPY --chown=ubuntu:users . .
name: kanikopoc
channels:
- pytorch
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- blas=1.0=mkl
- bzip2=1.0.8=h7b6447c_0
- ca-certificates=2022.07.19=h06a4308_0
- certifi=2022.9.14=py38h06a4308_0
- faiss-cpu=1.7.2=py3.8_h2a577fa_0_cpu
- ffmpeg=4.2.2=h20bf706_0
- freetype=2.11.0=h70c0345_0
- gmp=6.2.1=h295c915_3
- gnutls=3.6.15=he1e5248_0
- intel-openmp=2021.4.0=h06a4308_3561
- lame=3.100=h7b6447c_0
- ld_impl_linux-64=2.38=h1181459_1
- libfaiss=1.7.2=h2bc3f7f_0_cpu
- libffi=3.3=he6710b0_2
- libgcc-ng=11.2.0=h1234567_1
- libgomp=11.2.0=h1234567_1
- libidn2=2.3.2=h7f8727e_0
- libopus=1.3.1=h7b6447c_0
- libpng=1.6.37=hbc83047_0
- libstdcxx-ng=11.2.0=h1234567_1
- libtasn1=4.16.0=h27cfd23_0
- libunistring=0.9.10=h27cfd23_0
- libvpx=1.7.0=h439df22_0
- mkl=2021.4.0=h06a4308_640
- mkl-service=2.4.0=py38h7f8727e_0
- mkl_fft=1.3.1=py38hd3c417c_0
- mkl_random=1.2.2=py38h51133e4_0
- ncurses=6.3=h5eee18b_3
- nettle=3.7.3=hbbd107a_1
- numpy=1.23.1=py38h6c91a56_0
- numpy-base=1.23.1=py38ha15fc14_0
- openh264=2.1.1=h4ff587b_0
- openssl=1.1.1q=h7f8727e_0
- pip=22.1.2=py38h06a4308_0
- python=3.8.13=h12debd9_0
- readline=8.1.2=h7f8727e_1
- setuptools=63.4.1=py38h06a4308_0
- six=1.16.0=pyhd3eb1b0_1
- sqlite=3.39.2=h5082296_0
- tk=8.6.12=h1ccaba5_0
- wheel=0.37.1=pyhd3eb1b0_0
- x264=1!157.20191217=h7b6447c_0
- xz=5.2.5=h7f8727e_1
- zlib=1.2.12=h5eee18b_3
- pip:
- boto3==1.24.79
- botocore==1.27.79
- gcloud==0.18.3
- googleapis-common-protos==1.56.4
- httplib2==0.20.4
- jmespath==1.0.1
- oauth2client==4.1.3
- protobuf==4.21.6
- pyasn1==0.4.8
- pyasn1-modules==0.2.8
- pyparsing==3.0.9
- python-dateutil==2.8.2
- rsa==4.9
- s3transfer==0.6.0
- urllib3==1.26.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment