Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build a Python image from scratch on MacOS #585

Closed
tanvn opened this issue Feb 24, 2023 · 1 comment
Closed

Unable to build a Python image from scratch on MacOS #585

tanvn opened this issue Feb 24, 2023 · 1 comment

Comments

@tanvn
Copy link

tanvn commented Feb 24, 2023

I followed the instructions and ran the following commands on my PC (MacOS)

make build TARGET=centos7 VERSIONS=3.9

But got the following error:

mkdir -p 3.9/root
go-md2man -in "3.9/README.md" -out "3.9/root/help.1"
chmod a+r "3.9/root/help.1"
VERSION="3.9" SKIP_SQUASH=1 OS=centos7 CLEAN_AFTER= DOCKER_BUILD_CONTEXT=.. OPENSHIFT_NAMESPACES="" CUSTOM_REPO="" REGISTRY="quay.io/" /usr/bin/env bash common/build.sh
common/build.sh: line 59: syntax error near unexpected token `{stdout_fd}'
make[1]: *** [3.9] Error 2
make: *** [build-serial] Error 2

Please help.

@tanvn
Copy link
Author

tanvn commented Feb 24, 2023

Found a similar issue here sclorg/container-common-scripts#54
and tried building on a CentOS machine instead, it worked with

make build TARGET=centos7 VERSIONS=3.8

@tanvn tanvn closed this as completed Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant