Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swati/updates #41

Open
wants to merge 5 commits into
base: swati/starlight
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
# GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Docker push version
run: |
docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t ghcr.io/eyblockchain/zokrates-worker-updated:latest .
docker push ghcr.io/eyblockchain/zokrates-worker-updated:latest
docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t ghcr.io/eyblockchain/zokrates-worker-test:latest .
docker push ghcr.io/eyblockchain/zokrates-worker-test:latest
env:
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Set up Docker Buildx
Expand Down
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# build zokrates from source for local verify
FROM rust:1.53.0 as builder
ENV USERNAME="app"

RUN addgroup --gid 10001 $USERNAME && \
adduser --gid 10001 --uid 10001 --home /app $USERNAME
WORKDIR /app
COPY . .
RUN git clone --depth 1 --branch 0.7.12 https://github.com/Zokrates/ZoKrates.git /app/zoKratesv0.7.12
Expand All @@ -17,7 +14,7 @@ RUN rustup install nightly-2022-06-28
RUN cargo +nightly-2022-06-28 build -p zokrates_cli --release


FROM ubuntu:22.04
FROM ubuntu:24.04
WORKDIR /app

COPY config/default.js config/default.js
Expand All @@ -30,7 +27,7 @@ COPY src ./src
COPY start-script ./start-script
COPY start-dev ./start-dev

RUN apt-get update && apt-get install -y netcat curl
RUN apt-get update && apt-get install -y netcat-traditional curl
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs gcc g++ make

Expand Down
Loading
Loading