Skip to content
Permalink
Browse files

Docker: Do not install YAEP

  • Loading branch information...
sanssecours committed Aug 23, 2019
1 parent 6eff128 commit ac65772888b08d12b5b0a6a9e4347ea22a776fdd
@@ -21,21 +21,6 @@ RUN mkdir -p ${GTEST_ROOT} \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz

# YAEP
ARG YAEP_VERSION=550de4cc5600d5f6109c7ebcfbacec51bf80d8d3
RUN cd /tmp \
&& mkdir yaep \
&& curl -o yaep.tar.gz \
-L https://github.com/vnmakarov/yaep/archive/${YAEP_VERSION}.tar.gz \
&& tar -zxvf yaep.tar.gz --strip-components=1 -C yaep \
&& cd yaep \
&& mkdir build \
&& cd build \
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make install \
&& cd ../.. \
&& rm -r yaep yaep.tar.gz

# Create User:Group
# The id is important as jenkins docker agents use the same id that is running
# on the slaves to execute containers
@@ -93,21 +93,6 @@ RUN mkdir -p ${GTEST_ROOT} \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz

# YAEP
ARG YAEP_VERSION=550de4cc5600d5f6109c7ebcfbacec51bf80d8d3
RUN cd /tmp \
&& mkdir yaep \
&& curl -o yaep.tar.gz \
-L https://github.com/vnmakarov/yaep/archive/${YAEP_VERSION}.tar.gz \
&& tar -zxvf yaep.tar.gz --strip-components=1 -C yaep \
&& cd yaep \
&& mkdir build \
&& cd build \
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make install \
&& cd ../.. \
&& rm -r yaep yaep.tar.gz

# Update cache for shared libraries
RUN ldconfig

@@ -60,21 +60,6 @@ RUN apt-get update && apt-get -y install \
valgrind \
&& rm -rf /var/lib/apt/lists/*

# YAEP
ARG YAEP_VERSION=550de4cc5600d5f6109c7ebcfbacec51bf80d8d3
RUN cd /tmp \
&& mkdir yaep \
&& curl -o yaep.tar.gz \
-L https://github.com/vnmakarov/yaep/archive/${YAEP_VERSION}.tar.gz \
&& tar -zxvf yaep.tar.gz --strip-components=1 -C yaep \
&& cd yaep \
&& mkdir build \
&& cd build \
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make install \
&& cd ../.. \
&& rm -r yaep yaep.tar.gz

# Update cache for shared libraries
RUN ldconfig

@@ -123,21 +123,6 @@ RUN cd /tmp \
&& cd /tmp \
&& rm -r antlr4

# YAEP
ARG YAEP_VERSION=550de4cc5600d5f6109c7ebcfbacec51bf80d8d3
RUN cd /tmp \
&& mkdir yaep \
&& curl -o yaep.tar.gz \
-L https://github.com/vnmakarov/yaep/archive/${YAEP_VERSION}.tar.gz \
&& tar -zxvf yaep.tar.gz --strip-components=1 -C yaep \
&& cd yaep \
&& mkdir build \
&& cd build \
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make install \
&& cd ../.. \
&& rm -r yaep yaep.tar.gz

# yaml-cpp
RUN cd /tmp \
&& git clone --branch yaml-cpp-0.6.2 --depth 1 https://github.com/jbeder/yaml-cpp.git \
@@ -32,21 +32,6 @@ RUN mkdir -p ${GTEST_ROOT} \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz

# YAEP
ARG YAEP_VERSION=550de4cc5600d5f6109c7ebcfbacec51bf80d8d3
RUN cd /tmp \
&& mkdir yaep \
&& curl -o yaep.tar.gz \
-L https://github.com/vnmakarov/yaep/archive/${YAEP_VERSION}.tar.gz \
&& tar -zxvf yaep.tar.gz --strip-components=1 -C yaep \
&& cd yaep \
&& mkdir build \
&& cd build \
&& env CFLAGS='-fPIC' CXXFLAGS='-fPIC' cmake -DCMAKE_BUILD_TYPE=Release .. \
&& make install \
&& cd ../.. \
&& rm -r yaep yaep.tar.gz

# Update cache for shared libraries
RUN ldconfig

0 comments on commit ac65772

Please sign in to comment.
You can’t perform that action at this time.