From a5faa80b6b6fc0d6fad4d42ad3ccb6d6ad5aad6a Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Fri, 26 Jan 2024 10:20:16 +0000 Subject: [PATCH] chore : added a fix --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46f79e3..2ecfc06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -17,7 +14,7 @@ RUN rustup install nightly-2022-06-28 RUN cargo +nightly-2022-06-28 build -p zokrates_cli --release -FROM ubuntu:21.04 +FROM ubuntu:22.04 WORKDIR /app COPY config/default.js config/default.js