Skip to content

[Code Bug]: I find if you use docker to set up environment you need to follow this. we have to change one of the file in main folder #316

@liuian173-blip

Description

@liuian173-blip

Contact Details

ian.liu@valpo.edu

What happened?

In Dockerfile file:

Change : COPY xvfb-rpms /tmp

to

COPY docker/xvfb-rpms /tmp

and then rrun OpenCSP folder in Utuntu :

docker build
--build-arg TARGET_ARG=amd64
--platform linux/amd64
-t opencsp-dev-ubi8-amd64
-f Dockerfile
.

so that, we can test this project:
pytest:

export PYTHONPATH=/code
cd opencsp
pytest --color=yes -rs -vv

if everything shows PASSED

Congratulations!! That all awards I recived from 10 hours of debugging code and setting up the environment!!

Version

The latest

What OS are you seeing this on?

Windows

Relevant dependency versions

Decker in WSL, Environmet set up

python script that produces the error

_In Dockerfile file:_

Change : COPY xvfb-rpms /tmp

Relevant console output

Contribution Guidelines

  • I agree to follow this project's contribution guidelines

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions