Skip to content

Commit

Permalink
Fix errors in build (#118)
Browse files Browse the repository at this point in the history
We will need to copy over the post-processor directory any way due to idiosyncrasies of docker builder
  • Loading branch information
sohomdatta1 authored Nov 5, 2024
1 parent 9498ce9 commit 414f55c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/build-postprocessors/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM golang:1.22 AS build

# COPY post-processor /post-processor # This is for testing locally
COPY post-processor /post-processor

RUN apt update
RUN apt install -y --no-install-recommends git python3 python3-pip curl make
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
ENV PATH="${PATH}:/root/.cargo/bin"
# WORKDIR / # This is for testing locally
WORKDIR /
RUN make -C post-processor

FROM ubuntu:latest
COPY --from=build /post-processor/artifacts /artifacts
COPY --from=build /post-processor/artifacts /artifacts

0 comments on commit 414f55c

Please sign in to comment.