Skip to content

Commit

Permalink
Update README (#14)
Browse files Browse the repository at this point in the history
* Update README

* Remove 2.0.0

---------

Co-authored-by: impactaky <[email protected]>
  • Loading branch information
impactaky and impactaky authored Feb 17, 2024
1 parent 15eb043 commit 8955222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Fast cross-compiled environment requiring no special recipes.
Just use this as base image and build image with `--platform` option.

```Dockerfile
FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}:2.0.0
FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}
```

### Run example
Expand All @@ -34,7 +34,7 @@ This is the result on my local machine.
Please write as following.

```Dockerfile
FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}-host:2.0.0 AS mimic-host
FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}-host AS mimic-host
FROM ubuntu:22.04
COPY --from=mimic-host / /mimic-cross
RUN /mimic-cross/mimic-cross.deno/setup.sh
Expand Down
2 changes: 1 addition & 1 deletion example/binutils.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# => [7/7] RUN make -j `nproc` 434.8s


FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}:2.0.0
FROM --platform=${BUILDPLATFORM} impactaky/mc-ubuntu22.04-${TARGETARCH}
# => [2/7] RUN apt-get update && apt-get install -y --no-install-recommends wget ca-certificates binutils gcc make l 62.8s
# => [3/7] RUN wget https://ftp.gnu.org/gnu/binutils/binutils-2.36.tar.gz 5.2s
# => [4/7] RUN tar xf ./binutils-2.36.tar.gz 1.8s
Expand Down

0 comments on commit 8955222

Please sign in to comment.