Skip to content

Commit

Permalink
added verify file + dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MLainer1 committed Jan 9, 2025
1 parent a72c19c commit 57cf81d
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 145 deletions.
43 changes: 40 additions & 3 deletions docker/gitlab-docker-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
FROM devdemisto/gitlab-content-ci:1.0.0.64455
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

USER root

ENV DEBIAN_FRONTEND=noninteractive
ENV GIT_SSL_NO_VERIFY=1


RUN apt-get update && apt-get install -y \
ca-certificates \
build-essential \
curl \
git \
libbz2-dev \
libffi-dev \
liblzma-dev \
libncurses5-dev \
libreadline-dev \
libsqlite3-dev \
libssl-dev \
libxml2-dev \
libxmlsec1-dev \
llvm \
make \
python3-openssl \
tk-dev \
wget \
xz-utils \
zlib1g-dev

# Install pyenv
RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv

# Environment variables for pyenv
ENV PYENV_ROOT /root/.pyenv
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH

# Initialization of pyenv in the shell
RUN echo 'eval "$(pyenv init --path)"' >> /etc/profile.d/pyenv.sh
RUN echo 'eval "$(pyenv init -)"' >> /etc/profile

# Setup pyenv
RUN pyenv install -s 2.7.18 && pyenv versions | grep 2.7.18 && \
Expand All @@ -9,4 +46,4 @@ RUN pyenv install -s 2.7.18 && pyenv versions | grep 2.7.18 && \
pyenv install -s 3.10.13 && pyenv versions | grep 3.10.13 && \
pyenv install -s 3.11.0 && pyenv versions | grep 3.11.0 && \
pyenv install -s 3.12.0 && pyenv versions | grep 3.12.0 && \
pyenv global 3.10.13 && pip3 install --no-cache-dir -r /tmp/requirements.txt
pyenv global 3.10.13
Loading

0 comments on commit 57cf81d

Please sign in to comment.