diff --git a/base_images/2.3.3/Dockerfile b/base_images/2.3.3/Dockerfile index 71da404..8ca2669 100644 --- a/base_images/2.3.3/Dockerfile +++ b/base_images/2.3.3/Dockerfile @@ -54,7 +54,18 @@ RUN eval "$(rbenv init -)" \ ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true # SQL Server gem support -RUN apt-get install -y unixodbc-dev freetds-dev freetds-bin +RUN apt-get install -y unixodbc-dev + +# find latest version of FreeTDS ftp://ftp.freetds.org/pub/freetds/stable/ +ENV FREETDS_VERSION=1.1.6 +RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz \ + && tar -xzf freetds-$FREETDS_VERSION.tar.gz \ + && rm freetds-$FREETDS_VERSION.tar.gz \ + && cd freetds-$FREETDS_VERSION \ + && ./configure --prefix=/usr/local --with-tdsver=7.3 \ + && make \ + && make install \ + && cd .. # Make temp directory for ruby images RUN mkdir -p /tmp/bundle diff --git a/base_images/2.3.8/Dockerfile b/base_images/2.3.8/Dockerfile index 0320394..37a8196 100644 --- a/base_images/2.3.8/Dockerfile +++ b/base_images/2.3.8/Dockerfile @@ -54,7 +54,18 @@ RUN eval "$(rbenv init -)" \ ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true # SQL Server gem support -RUN apt-get install -y unixodbc-dev freetds-dev freetds-bin +RUN apt-get install -y unixodbc-dev + +# find latest version of FreeTDS ftp://ftp.freetds.org/pub/freetds/stable/ +ENV FREETDS_VERSION=1.1.6 +RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz \ + && tar -xzf freetds-$FREETDS_VERSION.tar.gz \ + && rm freetds-$FREETDS_VERSION.tar.gz \ + && cd freetds-$FREETDS_VERSION \ + && ./configure --prefix=/usr/local --with-tdsver=7.3 \ + && make \ + && make install \ + && cd .. # Make temp directory for ruby images RUN mkdir -p /tmp/bundle diff --git a/base_images/2.4.5/Dockerfile b/base_images/2.4.5/Dockerfile index 17b8a8b..0a99aac 100644 --- a/base_images/2.4.5/Dockerfile +++ b/base_images/2.4.5/Dockerfile @@ -54,7 +54,19 @@ RUN eval "$(rbenv init -)" \ ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true # SQL Server gem support -RUN apt-get install -y unixodbc-dev freetds-dev freetds-bin +RUN apt-get install -y unixodbc-dev + +# find latest version of FreeTDS ftp://ftp.freetds.org/pub/freetds/stable/ +ENV FREETDS_VERSION=1.1.6 +RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz \ + && tar -xzf freetds-$FREETDS_VERSION.tar.gz \ + && rm freetds-$FREETDS_VERSION.tar.gz \ + && cd freetds-$FREETDS_VERSION \ + && ./configure --prefix=/usr/local --with-tdsver=7.3 \ + && make \ + && make install \ + && cd .. + # Make temp directory for ruby images RUN mkdir -p /tmp/bundle diff --git a/base_images/2.5.5/Dockerfile b/base_images/2.5.5/Dockerfile index 09d3c74..95c1034 100644 --- a/base_images/2.5.5/Dockerfile +++ b/base_images/2.5.5/Dockerfile @@ -54,7 +54,18 @@ RUN eval "$(rbenv init -)" \ ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true # SQL Server gem support -RUN apt-get install -y unixodbc-dev freetds-dev freetds-bin +RUN apt-get install -y unixodbc-dev + +# find latest version of FreeTDS ftp://ftp.freetds.org/pub/freetds/stable/ +ENV FREETDS_VERSION=1.1.6 +RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz \ + && tar -xzf freetds-$FREETDS_VERSION.tar.gz \ + && rm freetds-$FREETDS_VERSION.tar.gz \ + && cd freetds-$FREETDS_VERSION \ + && ./configure --prefix=/usr/local --with-tdsver=7.3 \ + && make \ + && make install \ + && cd .. # Make temp directory for ruby images RUN mkdir -p /tmp/bundle diff --git a/base_images/2.6.2/Dockerfile b/base_images/2.6.2/Dockerfile index afb02c2..3bb705a 100644 --- a/base_images/2.6.2/Dockerfile +++ b/base_images/2.6.2/Dockerfile @@ -54,7 +54,18 @@ RUN eval "$(rbenv init -)" \ ENV NOKOGIRI_USE_SYSTEM_LIBRARIES=true # SQL Server gem support -RUN apt-get install -y unixodbc-dev freetds-dev freetds-bin +RUN apt-get install -y unixodbc-dev + +# find latest version of FreeTDS ftp://ftp.freetds.org/pub/freetds/stable/ +ENV FREETDS_VERSION=1.1.6 +RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz \ + && tar -xzf freetds-$FREETDS_VERSION.tar.gz \ + && rm freetds-$FREETDS_VERSION.tar.gz \ + && cd freetds-$FREETDS_VERSION \ + && ./configure --prefix=/usr/local --with-tdsver=7.3 \ + && make \ + && make install \ + && cd .. # Make temp directory for ruby images RUN mkdir -p /tmp/bundle