Skip to content

Commit a93335a

Browse files
committed
docker: fix hs image
1 parent 337719b commit a93335a

File tree

3 files changed

+9846
-3
lines changed

3 files changed

+9846
-3
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
!simulation/
55
!conformance-testing/
66
!data/simulation/*.yaml
7+
!leios-trace-hs/
78
!cabal.project
89

910
# Ignore unnecessary files even in sim-rs

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ RUN apt-get update && \
4646
&& rm -rf /var/lib/apt/lists/*
4747

4848
# Copy project files
49-
COPY . .
49+
COPY simulation /build/simulation/
50+
COPY conformance-testing /build/conformance-testing/
51+
COPY leios-trace-hs /build/leios-trace-hs/
52+
COPY cabal.project /build/
5053

5154
# Build simulation
52-
WORKDIR /build/simulation
55+
WORKDIR /build
5356
RUN cabal update && \
5457
cabal build all && \
55-
# Find the actual binary path and copy it to a known location
5658
find /build/dist-newstyle -type f -name "ols" -exec cp {} /build/ols \;
5759

5860
# Create Rust simulation image

0 commit comments

Comments
 (0)