Skip to content

Commit

Permalink
Build Dockerfile.nightly in build workflow (#734)
Browse files Browse the repository at this point in the history
* Build Dockerfile.nightly in build workflow

* Fix Dockerfile according to suggestions in issue 733, fix .dockerignore
  • Loading branch information
Trolldemorted authored Oct 7, 2024
1 parent 818e8c4 commit 5df9e7f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
*.md
.gitignore
.dockerignore
Dockerfile
Dockerfile*
/.github
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,13 @@ jobs:
run: |
eval $(opam env)
etc/ci_core_tests.sh
build-docker:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3

- name: Build Dockerfile.nightly
run: |
docker build . -t sail -f ./Dockerfile.nightly --no-cache --progress plain
3 changes: 1 addition & 2 deletions Dockerfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ WORKDIR /sail-src
COPY . /sail-src

# build
RUN opam pin -y add sail $PWD

RUN opam install --yes .
ENTRYPOINT [ "/sail-src/docker_entry_point.sh" ]

0 comments on commit 5df9e7f

Please sign in to comment.