yao-pkg / pkg-binaries

Collection of pkg nodejs binaries that are not supported by pkg
MIT License
89 stars 23 forks source link

Unknown flags with build.sh #14

Closed peterbabic closed 3 years ago

peterbabic commented 4 years ago
#  ./build.sh          
1) arm32v6
2) arm32v7
3) arm64
Architecture: >2

1) Node 8 LTS (Carbon)
2) Node 10 LTS (Dubnium) 
3) Node 12 LTS (Current)
NodeJS version: >3

1) linux
2) alpine
OS version: >1

unknown flag: --progress

# after removing --progress parameter in build.sh:159, this was the output
unknown shorthand flag: 'f' in -f

# after removing even -f in build.sh:159, this was the output
unknown flag: --platform

basically my docker is completely unsure about this command:

docker buildx build --progress plain -f Dockerfile.build \
    --platform $platform \
    --build-arg PKG_NODE="$pkg_node" \
    --build-arg PKG_OS="$pkg_os" \
    --build-arg PKG_ARCH="$pkg_arch" \
    --build-arg NPROC="$NPROC" \
    --load \
    -t ${arch}/pkgbinaries:${pkg_os}-${pkg_node} .
robertsLando commented 4 years ago

@peterbabic What's your docker buildx version? I think you are running an old version