Merge pull request #55 from ravensorb/master
Added support for dos2unix to handle windows line ending issue during build
This commit is contained in:
commit
ad5e5b48ce
2 changed files with 4 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ RUN \
|
||||||
echo "**** Updating package information ****" && \
|
echo "**** Updating package information ****" && \
|
||||||
apt-get update -y -qq && \
|
apt-get update -y -qq && \
|
||||||
echo "**** Install pre-reqs ****" && \
|
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 && \
|
apt-get install -y libc6 libgcc1 libgssapi-krb5-2 libssl1.1 libstdc++6 zlib1g libicu66 && \
|
||||||
echo "**** Installing dotnet ****" && \
|
echo "**** Installing dotnet ****" && \
|
||||||
wget -q https://dot.net/v1/dotnet-install.sh && \
|
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
|
# add local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
|
RUN dos2unix /etc/services.d/rdtclient/run && \
|
||||||
|
dos2unix /etc/cont-init.d/30-config
|
||||||
|
|
||||||
# ports and volumes
|
# ports and volumes
|
||||||
EXPOSE 6500
|
EXPOSE 6500
|
||||||
VOLUME ["/config", "/data" ]
|
VOLUME ["/config", "/data" ]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue