File Permissions Issue:
1: In the Docker build context, the files you copy into the container retain their permissions unless explicitly changed.
2: If the configure file does not have execute (+x) permissions locally, it will not be executable in the container.
Updated Dockerfile:
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
RUN apt-get update RUN apt-get install -y libmotif-dev build-essential
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp/oracle-outside-in-content-access-8.5.7.0.0-linux-x86-64/sdk/samplecode/unix/
RUN chmod +x ./configure
RUN ls -l
RUN make
WORKDIR /app
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R
appuser /app
USER appuser
COPY . .