Skip to content

Commit

Permalink
fix: dockerfile FromAs casing (#4616)
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs authored Aug 5, 2024
1 parent 54d48ca commit 55c8beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN --mount=type=cache,sharing=private,target=/root/.cargo/registry \
# https:/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#cached-docker-images
##
# A slim image contains only forest binaries
FROM ubuntu:22.04 as slim-image
FROM ubuntu:22.04 AS slim-image

ARG SERVICE_USER=forest
ARG SERVICE_GROUP=forest
Expand Down Expand Up @@ -93,7 +93,7 @@ RUN forest -V && forest-cli -V && forest-tool -V
ENTRYPOINT ["forest"]

# A fat image contains forest binaries and fil proof parameter files under $FIL_PROOFS_PARAMETER_CACHE
FROM slim-image as fat-image
FROM slim-image AS fat-image

# Move FIL_PROOFS_PARAMETER_CACHE out of forest data dir since users always need to mount the data dir
ENV FIL_PROOFS_PARAMETER_CACHE="/var/tmp/filecoin-proof-parameters"
Expand Down

0 comments on commit 55c8beb

Please sign in to comment.