Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manually install version of freeTDS #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion base_images/2.3.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion base_images/2.3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 13 additions & 1 deletion base_images/2.4.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion base_images/2.5.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 12 additions & 1 deletion base_images/2.6.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down