Fix CRLF issue

pull/816/head
Atakan Özceviz 7 years ago
parent dfaff329cc
commit a339e47eac

@ -16,7 +16,7 @@ WORKDIR /src
COPY --from=build /src/samples/MicroserviceDemo/microservices/ProductService.Host ./ProductService.Host
COPY --from=build /src/samples/MicroserviceDemo/applications/AuthServer.Host ./AuthServer.Host
COPY --from=build /src/samples/MicroserviceDemo/databases/entrypoint.sh .
RUN sed -i $'s/\r$//' entrypoint.sh
RUN /bin/bash -c "sed -i $'s/\r$//' entrypoint.sh"
RUN chmod +x ./entrypoint.sh
ENTRYPOINT ["./entrypoint.sh"]

@ -10,6 +10,6 @@ WORKDIR /src
COPY --from=unzip /src/MsDemo_Identity.bak .
COPY --from=unzip /src/MsDemo_ProductManagement.bak .
COPY /samples/MicroserviceDemo/databases/restore/entrypoint.sh .
RUN sed -i $'s/\r$//' entrypoint.sh
RUN /bin/bash -c "sed -i $'s/\r$//' entrypoint.sh"
RUN chmod +x ./entrypoint.sh
ENTRYPOINT [ "./entrypoint.sh" ]
Loading…
Cancel
Save