You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got SHIR in a windows container, and I mounted the files it needs as a local volume. how do I make azure data factory see them?
it seems azure data factory requires a username/password, even for files local to the SHIR, so I modified the dockerfile to create a user, but it can't read anything. am I missing something?
dockerfile changes:
FROM mcr.microsoft.com/windows/servercore:ltsc2022
ARG INSTALL_JDK=false
# Download the latest self-hosted integration runtime installer into the SHIR folder
COPY SHIR C:/SHIR/
RUN ["powershell", "C:/SHIR/build.ps1"]
# Allow local folder Navigation
RUN ["powershell", "'C:/Program Files/Microsoft Integration Runtime/6.0/Shared/dmgcmd.exe -DisableLocalFolderPathValidation'"]
RUN mkdir "C:/data"
RUN net user dataUser '(PASSWORD_HERE)' /ADD
RUN ["icacls", "C:/data", "/grant", "dataUser:(OI)(CI)F"]
ENTRYPOINT ["powershell", "C:/SHIR/setup.ps1"]
ENV SHIR_WINDOWS_CONTAINER_ENV True
HEALTHCHECK --start-period=120s CMD ["powershell", "C:/SHIR/health-check.ps1"]
I then run the container with the following docker compose:
I've got SHIR in a windows container, and I mounted the files it needs as a local volume. how do I make azure data factory see them?
it seems azure data factory requires a username/password, even for files local to the SHIR, so I modified the dockerfile to create a user, but it can't read anything. am I missing something?
dockerfile changes:
I then run the container with the following docker compose:
is anyone else using local files this way? I'm pulling my hair out, this feels much easier with linux containers.
The text was updated successfully, but these errors were encountered: