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

Metricscollector gssntlmssp fix #6758

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
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
15 changes: 15 additions & 0 deletions edge-modules/metrics-collector/docker/linux/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ ARG EXE_DIR=.

ENV MODULE_NAME "Microsoft.Azure.Devices.Edge.Azure.Monitor.dll"

RUN apk add --no-cache git curl tini util-linux bash neovim openssl
RUN apk add --no-cache make m4 autoconf automake gcc g++ krb5-dev openssl-dev gettext-dev
RUN apk add --no-cache libtool libxml2 libxslt libunistring-dev zlib-dev samba-dev
RUN apk add libwbclient libunistring libssl1.1 zlib

RUN git clone https://github.com/gssapi/gss-ntlmssp
WORKDIR gss-ntlmssp
RUN autoreconf -f -i
RUN ./configure --without-manpages --disable-nls
RUN make
RUN make install
RUN mkdir -p /usr/etc/gss/mech.d
RUN cp examples/mech.ntlmssp /usr/etc/gss/mech.d/mech.ntlmssp.conf
RUN sed -i 's/\${exec_prefix}/\/usr\/local/' /usr/etc/gss/mech.d/mech.ntlmssp.conf

WORKDIR /app

COPY $EXE_DIR/ ./
Expand Down
1 change: 1 addition & 0 deletions scripts/linux/buildImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ DEFAULT_DOCKER_NAMESPACE="microsoft"
DOCKER_NAMESPACE=${DEFAULT_DOCKER_NAMESPACE}
BUILD_BINARIESDIRECTORY=${BUILD_BINARIESDIRECTORY:=""}
SKIP_PUSH=0
SOURCE_MAP=

###############################################################################
# Function to obtain the underlying architecture and check if supported
Expand Down