Skip to content

Commit

Permalink
Merge pull request #97 from amutake/fix/saphe
Browse files Browse the repository at this point in the history
Fix saphe Dockerfile
  • Loading branch information
amutake authored Jun 5, 2024
2 parents 0e08cc8 + 03159df commit 6d8f917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions branch-saphe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN opam pin add --no-action --kind local saphe.dev .
RUN opam pin add --no-action --kind local satysfi.dev .
RUN opam update
RUN opam install saphe satysfi
RUN ./install-libs.sh ~/.saphe install

# Generate metadata
RUN git describe --tags > /satysfi-revision
Expand All @@ -35,7 +34,6 @@ RUN eval $(opam env) && \
FROM ubuntu:22.04

# Copy from build-env
COPY --from=build-env /root/.saphe /root/.saphe
COPY --from=build-env /saphe /usr/local/bin/saphe
COPY --from=build-env /satysfi /usr/local/bin/satysfi
COPY --from=build-env /satysfi-revision /satysfi-revision
Expand Down
2 changes: 1 addition & 1 deletion branch-saphe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ cd /path/to/docker-satysfi/branch-saphe
docker build -t amutake/satysfi:saphe .

cd /path/to/SATySFi/demo
docker run --rm -it amutake/satysfi:saphe sh -c "saphe solve demo.saty && saphe build demo.saty"
docker run --rm -it -v $(pwd):/satysfi amutake/satysfi:saphe sh -c "saphe solve demo.saty && saphe build demo.saty"
```

0 comments on commit 6d8f917

Please sign in to comment.