Skip to content

Commit

Permalink
Add '--platform linux/386' arg to x86 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Jan 7, 2022
1 parent 61348d9 commit c3bd397
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $ cd centos5_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos5_x64-be .

$ cd ../centos5_x86
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos5_x86-be .
$ docker build --rm --force-rm --squash -t --platform linux/386 evolvedbinary/rocksjava:centos5_x86-be .
```

# CentOS 6 Docker Images
Expand All @@ -31,7 +31,7 @@ $ cd centos6_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos6_x64-be .

$ cd ../centos6_x86
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos6_x86-be .
$ docker build --rm --force-rm --squash -t --platform linux/386 evolvedbinary/rocksjava:centos6_x86-be .
```

# CentOS 7 Docker Images
Expand Down Expand Up @@ -73,7 +73,7 @@ $ cd alpine3_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_x64-be .

$ cd ../alpine3_x86
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_x86-be .
$ docker build --rm --force-rm --squash -t --platform linux/386 evolvedbinary/rocksjava:alpine3_x86-be .
```

## Requires ppc64le arch CPU
Expand Down

0 comments on commit c3bd397

Please sign in to comment.