Skip to content

Commit

Permalink
build: add syntax for local build
Browse files Browse the repository at this point in the history
    Due to the line `ARCH=${TARGETPLATFORM#linux/}`,
    we need to define the syntax to make docker build happy.

Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng committed Jun 19, 2024
1 parent a8f55f3 commit 785f4dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax=docker/dockerfile:1.7.0

FROM registry.opensuse.org/isv/rancher/harvester/os/dev/main/baseos:latest AS base

ARG CACHEBUST
Expand Down

0 comments on commit 785f4dd

Please sign in to comment.