Skip to content

Commit

Permalink
Updated image
Browse files Browse the repository at this point in the history
  • Loading branch information
axsaucedo authored and seldondev committed Jul 20, 2020
1 parent ab3bc2f commit 34727ac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
21 changes: 17 additions & 4 deletions core-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:13.0.1-jdk-buster

ENV PYTHON_VERSION "3.7.4"
ENV PYTHON_VERSION "3.6.10"

# install docker
RUN \
Expand Down Expand Up @@ -88,6 +88,22 @@ RUN pip install --upgrade setuptools
RUN pip install pyyaml
RUN pip install grpcio
RUN pip install grpcio-tools
RUN pip install flatbuffers
RUN pip install twine
RUN pip install mypy-protobuf

# Install flatc
RUN apt-get install cmake -y
RUN INSTALL_DIR=/tmp/flatc-install && \
mkdir $INSTALL_DIR && \
cd $INSTALL_DIR && \
git clone https://github.com/google/flatbuffers.git && \
cd flatbuffers && \
cmake -G "Unix Makefiles" && \
make && \
cp ./flatc /usr/local/bin/ && \
rm -rf $INSTALL_DIR

RUN apt-get remove -y --auto-remove && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# INSTALL GO
Expand All @@ -113,9 +129,6 @@ RUN \
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
update-alternatives --set iptables /usr/sbin/iptables-legacy

# Make RUN commands use the CONDA environment - see https://pythonspeed.com/articles/activate-conda-dockerfile/
SHELL ["/opt/conda/bin/conda", "run", "-n", "base", "/bin/bash", "-c"]

# install jupyter
RUN pip install jupyter

Expand Down
4 changes: 3 additions & 1 deletion jenkins-x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pipelineConfig:
command: echo "skipping promote"
pullRequest:
pipeline:
options:
containerOptions:
imagePullPolicy: Always
agent:
image: seldonio/core-builder:0.16
stages:
Expand Down Expand Up @@ -101,7 +104,6 @@ pipelineConfig:
memory: 2000Mi
securityContext:
privileged: true
imagePullPolicy: Always
volumes:
- name: modules
hostPath:
Expand Down

0 comments on commit 34727ac

Please sign in to comment.