From 712bc71de92ad947b51fc6fe8f52ca2c8bacd411 Mon Sep 17 00:00:00 2001 From: jachen-sh <107783392+jachen-sh@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:11:12 -0700 Subject: [PATCH] build aptos 1.10.0 (#4) --- .github/workflows/docker.yaml | 2 +- Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index ecd1bc9..bbec913 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -10,7 +10,7 @@ on: - main env: - APTOS_GIT_REVISION: 7dc7078 + APTOS_GIT_REVISION: aptos-node-v1.10.0 concurrency: docker diff --git a/Dockerfile b/Dockerfile index 7c4338e..a50fa1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:22.04 AS builder SHELL ["/bin/bash", "-c"] RUN apt-get update && \ - apt-get install -y --no-install-recommends ca-certificates git && \ + apt-get install -y --no-install-recommends ca-certificates git sudo && \ rm -rf /var/lib/apt/lists/* WORKDIR /usr/src/aptos @@ -28,6 +28,7 @@ RUN adduser --uid 1000 --home /aptos --gecos '' --disabled-password aptos FROM base AS aptos COPY --from=builder \ + /usr/src/aptos/target/release/aptos-node \ /usr/src/aptos/target/release/aptos \ /usr/local/bin/