Skip to content
Browse files

updated dockerfile

  • Loading branch information...
p3root committed Feb 23, 2019
1 parent e5d8cdb commit 08af47980844a90c16d4c507029c0396bd81dfe0
Showing with 1 addition and 4 deletions.
  1. +1 −4 docker/Dockerfile
@@ -13,8 +13,6 @@ RUN git clone /src/serialportstrea
RUN cd /src/serialportstream/dll/serialunix && ./
RUN cd -

ARG version

FROM microsoft/dotnet:latest

@@ -36,8 +34,6 @@ COPY --from=libnserial /src/serialportstream/dll/serialunix/bin/usr/local/lib/li
COPY --from=libnserial /src/serialportstream/dll/serialunix/bin/usr/local/lib/ /usr/lib
COPY --from=libnserial /src/serialportstream/dll/serialunix/bin/usr/local/lib/ /usr/lib

RUN ls -lah /usr/lib

RUN dotnet publish -c Release -o /app/automatica /src/src/automatica.core/
RUN dotnet publish -c Release -o /app/automatica.bootloader /src/src/automatica.core/Automatica.Core.Bootloader

@@ -46,6 +42,7 @@ RUN true
COPY ./src/automatica.core/Automatica.Core/appsettings.json .

RUN chmod 755 /src/docker/
RUN echo $version
RUN /src/docker/ /src $version

RUN dotnet publish -c Release -o /tmp/db/ /src/src/automatica.core/CI/Automatica.Core.CI.CreateDatabase

0 comments on commit 08af479

Please sign in to comment.
You can’t perform that action at this time.