Merge pull request #55 from ravensorb/master

Added support for dos2unix to handle windows line ending issue during build
This commit is contained in:
Roger Far 2021-04-26 07:23:33 -06:00 committed by GitHub
commit ad5e5b48ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" ]