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

Errors in setup scripts on WSL Ubuntu 20.04 #23

Open
SoraDevin opened this issue Nov 9, 2021 · 0 comments
Open

Errors in setup scripts on WSL Ubuntu 20.04 #23

SoraDevin opened this issue Nov 9, 2021 · 0 comments

Comments

@SoraDevin
Copy link

SoraDevin commented Nov 9, 2021

Following the instructions found here.

Firstly python is not linked as python3, simple fix is to change the line in 0-test-compile.sh to:
python3 -m py_compile packages/*-SAMPLE_CODE-1.0/application.py

Secondly 3-build-container.sh is failing on the gzip command somewhere:

=> => naming to docker.io/library/code_asset                                                                                                              0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
docker export --output=code_asset.tar $(docker create code_asset:latest)
WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested
gzip -9 code_asset.tar
gzip: code_asset.tar.gz: Operation not permitted
gzip: code_asset.tar.gz: Operation not permitted
Error while compressing the exported docker tar file
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