Skip to content

Commit

Permalink
Try to fix docker build in workflow(?)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan committed Dec 30, 2023
1 parent 4f5bbca commit d1d2b00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

ARG version
ARG channel
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN echo "deb https://mediaarea.net/repo/deb/debian/ buster main" | tee -a /etc/
RUN apt-get update && apt-get install -y apt-utils gosu jq unzip mediainfo librhash-dev

WORKDIR /usr/src/app/build
COPY --from=0 /usr/src/app/build .
COPY --from=build /usr/src/app/build .
COPY ./dockerentry.sh /dockerentry.sh

WORKDIR /usr/src/app/build/webui
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:6.0
FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:6.0 AS build

ARG version
ARG channel
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN echo "deb https://mediaarea.net/repo/deb/debian/ buster main" | tee -a /etc/
RUN apt-get update && apt-get install -y apt-utils gosu jq unzip mediainfo librhash-dev

WORKDIR /usr/src/app/build
COPY --from=0 /usr/src/app/build .
COPY --from=build /usr/src/app/build .
COPY ./dockerentry.sh /dockerentry.sh

WORKDIR /usr/src/app/build/webui
Expand Down

0 comments on commit d1d2b00

Please sign in to comment.