Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Dec 4, 2024
1 parent 3112ca3 commit af173b7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@ jobs:
platforms: |
linux/arm64/v8
file: docker/livebook.dockerfile
target: base
- name: Build Pre-compiled
uses: docker/build-push-action@v6
with:
push: false
tags: ${{ secrets.DOCKERHUB_USERNAME }}/beaver-livebook:latest
cache-from: ${{ secrets.DOCKERHUB_USERNAME }}/beaver-livebook:latest
cache-to: type=inline
platforms: |
linux/arm64/v8
file: docker/livebook.dockerfile
target: base
- uses: actions/checkout@v3
name: Check-out beaver
with:
Expand Down
7 changes: 6 additions & 1 deletion docker/livebook.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/livebook-dev/livebook:0.14.5
FROM ghcr.io/livebook-dev/livebook:0.14.5 AS base
RUN apt-get upgrade -y \
&& apt-get update \
&& apt-get install --no-install-recommends -y \
Expand All @@ -18,3 +18,8 @@ RUN wget "https://ziglang.org/download/0.13.0/zig-linux-aarch64-0.13.0.tar.xz" -
&& mv /usr/local/zig-linux-aarch64-0.13.0 /usr/local/zig-linux \
&& rm "zig-linux.tar.xz"
ENV PATH=/usr/local/zig-linux:${PATH}

FROM scratch AS build
COPY . /src
WORKDIR /src
RUN bash scripts/build-for-publish.sh

0 comments on commit af173b7

Please sign in to comment.