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]>
(cherry picked from commit 785f4dd)

Conflicts:
	Dockerfile
	  - keep the baseos on v1.3
  • Loading branch information
Vicente-Cheng authored and bk201 committed Jun 19, 2024
1 parent 40108f6 commit 699c872
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/v1.3/main/baseos:latest AS base

ARG CACHEBUST
Expand Down

0 comments on commit 699c872

Please sign in to comment.