Skip to content

Commit f08a101

Browse files
RamanDamayeuRaman Damayeuclaude
authored
Fix Docker build failures in all collectors (#130)
Resolved package installation issues that were breaking CI builds: - Removed unixodbc-bin package (merged into unixodbc in Debian Bullseye) - Fixed undefined $VENV_PATH variable in all Dockerfiles - Updated odd-collector to use unixodbc instead of deprecated unixodbc-bin The unixodbc-bin package no longer exists as a separate package in Debian Bullseye - its functionality was merged into the main unixodbc package. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Raman Damayeu <rdamayeu@provectus.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b6219e7 commit f08a101

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

odd-collector-aws/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.9-slim-bullseye as base
22
ENV POETRY_HOME=/etc/poetry \
33
POETRY_VERSION=1.3.1
4-
ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
4+
ENV PATH="$POETRY_HOME/bin:$PATH"
55

66
FROM base AS build
77

odd-collector-azure/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.9-slim-bullseye as base
22
ENV POETRY_HOME=/etc/poetry \
33
POETRY_VERSION=1.3.1
4-
ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
4+
ENV PATH="$POETRY_HOME/bin:$PATH"
55

66
FROM base AS build
77

odd-collector-gcp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.9.16-slim-buster as base
22
ENV POETRY_PATH=/etc/poetry \
33
POETRY_VERSION=1.3.2
4-
ENV PATH="$POETRY_PATH/bin:$VENV_PATH/bin:$PATH"
4+
ENV PATH="$POETRY_PATH/bin:$PATH"
55

66
FROM base AS build
77

odd-collector/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.9.16-slim-bullseye as base
22

33
ENV POETRY_HOME=/etc/poetry \
44
POETRY_VERSION=1.3.1
5-
ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
5+
ENV PATH="$POETRY_HOME/bin:$PATH"
66

77
FROM base AS build
88

@@ -45,8 +45,7 @@ RUN apt-get update -y && apt-get install -y gnupg2 \
4545
&& apt-key add microsoft.asc && rm microsoft.asc \
4646
&& mv mssql-release.list /etc/apt/sources.list.d/mssql-release.list \
4747
&& apt-get update -y \
48-
&& apt-get install -y g++ unixodbc-dev \
49-
&& apt-get install -y unixodbc-bin \
48+
&& apt-get install -y g++ unixodbc-dev unixodbc \
5049
&& apt-get install -y msodbcsql17 libgssapi-krb5-2 libpq-dev \
5150
&& apt-get install -y libaio1 wget unzip
5251

0 commit comments

Comments
 (0)