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

Added support for creating linux based docker image #908

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

rchopade7
Copy link
Collaborator

Added support for creating linux based docker image

@github-actions github-actions bot added the maintenance Package and maintenance related label Oct 4, 2024
@github-actions github-actions bot added maintenance Package and maintenance related and removed maintenance Package and maintenance related labels Oct 4, 2024
@wiz-inc-572fc38784
Copy link

wiz-inc-572fc38784 bot commented Oct 4, 2024

Wiz Scan Summary

Scan Module Critical High Medium Low Info Total
IaC Misconfigurations 0 1 4 1 0 6
Vulnerabilities 0 0 0 0 0 0
Sensitive Data 0 0 0 0 0 0
Secrets 0 0 0 0 0 0
Total 0 1 4 1 0 6

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@github-actions github-actions bot added maintenance Package and maintenance related and removed maintenance Package and maintenance related labels Oct 4, 2024
@github-actions github-actions bot added maintenance Package and maintenance related and removed maintenance Package and maintenance related labels Oct 7, 2024
@@ -15,7 +15,7 @@ on:

env:
DOCKER_IMAGE_NAME: ghcr.io/ansys/prime
DOCKER_IMAGE_TAG: '25.1.0.dev19'
DOCKER_IMAGE_TAG: '25.1.0-test'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rchopade7 I would expect this not to be changed for cicd.

# Build the docker image
print(">>> Building docker image. This might take some time...")
out = subprocess.run(
["docker", "build", "-f", "linux/Dockerfile", "-t", "ghcr.io/ansys/prime:25.1.0-test", "."],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["docker", "build", "-f", "linux/Dockerfile", "-t", "ghcr.io/ansys/prime:25.1.0-test", "."],
["docker", "build", "-f", "linux/Dockerfile", "-t", "ghcr.io/ansys/prime:latest", "."],

Comment on lines +95 to +109
# copy parasolid schema
shutil.copytree(
os.path.join(
AWP_ROOT, "commonfiles", "CAD", "Siemens", "Parasolid36.1.212", "linx64", "schema"
),
os.path.join(
dest_package_path,
"commonfiles",
"CAD",
"Siemens",
"Parasolid36.1.212",
"linx64",
"schema",
),
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rchopade7 this looks version specific, can we consider modifying so this will work between all versions going forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants