Skip to content

Can't build in Docker #97

Open
Open
@chenboy3

Description

@chenboy3

Hi, I can run the Go build fine, but wanted to run the Docker build as a comparison but keep running into the following error:

#5 65.63 dpkg-deb: building package 'nginx-dbg' in '../nginx-dbg_1.20.2-1~buster_arm64.deb'.
#5 65.63 dpkg-deb: building package 'nginx' in '../nginx_1.20.2-1~buster_arm64.deb'.
#5 67.84  dpkg-genbuildinfo --build=binary
#5 67.96  dpkg-genchanges --build=binary >../nginx_1.20.2-1~buster_arm64.changes
#5 68.06 dpkg-genchanges: info: binary-only upload (no source code included)
#5 68.06  dpkg-source --after-build .
#5 68.11 dpkg-buildpackage: info: binary-only upload (no source included)
#5 68.11 mv: cannot stat 'nginx_1*~buster_amd64.deb': No such file or directory
------

failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apt-get update -y         && apt-get install --no-install-recommends -y wget git unzip lsb-release gnupg2 dpkg-dev ca-certificates         && echo "deb-src http://nginx.org/packages/`lsb_release -is | tr '[:upper:]' '[:lower:]'` `lsb_release -cs` nginx" | tee /etc/apt/sources.list.d/nginx.list         && wget http://nginx.org/keys/nginx_signing.key && apt-key add nginx_signing.key && rm nginx_signing.key         && cd /tmp         && apt-get update         && apt-get source nginx         && apt-get build-dep nginx --no-install-recommends -y         && git clone https://github.com/wandenberg/nginx-push-stream-module.git nginx-push-stream-module         && cd nginx-1*         && sed -i "s@--with-stream_ssl_module@--with-stream_ssl_module --add-module=/tmp/nginx-push-stream-module @g" debian/rules         && dpkg-buildpackage -uc -us -b         && cd ..         && mv nginx_1*~buster_amd64.deb nginx.deb]: exit code: 1

Any suggestions here? I'm building on an M1 Mac for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions