Updated dockerfile to allow dos2unix to correct the window line ending issue

This commit is contained in:
Shawn Anderson 2021-04-25 21:15:32 -04:00
parent e6a261dfd6
commit 058e67b03e
2 changed files with 4 additions and 1 deletions

View file

@ -60,7 +60,7 @@ RUN \
echo "**** Updating package information ****" && \
apt-get update -y -qq && \
echo "**** Install pre-reqs ****" && \
apt-get install -y -qq wget && \
apt-get install -y -qq wget dos2unix && \
apt-get install -y libc6 libgcc1 libgssapi-krb5-2 libssl1.1 libstdc++6 zlib1g libicu66 && \
echo "**** Installing dotnet ****" && \
wget -q https://dot.net/v1/dotnet-install.sh && \
@ -85,6 +85,9 @@ COPY --from=node-build-env /appclient/client/out ./wwwroot
# add local files
COPY root/ /
RUN dos2unix /etc/services.d/rdtclient/run && \
dos2unix /etc/cont-init.d/30-config
# ports and volumes
EXPOSE 6500
VOLUME ["/config", "/data" ]