diff --git a/Dockerfile b/Dockerfile index 57a549d..e928987 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,8 @@ ENV DEPS \ RUN apk --no-cache --quiet add ${DEPS} # Install Con-PCA-Tasks binary file -RUN wget "https://github.com/cisagov/con-pca-tasks/releases/download/v0.0.1/pca-linux-amd64" -RUN mv pca-linux-amd64 /bin/pca +RUN wget "https://github.com/cisagov/con-pca-tasks/releases/download/v0.0.1/pca-linux-arm64" +RUN mv pca-linux-arm64 /bin/pca RUN ["chmod", "+x", "/bin/pca"] USER ${CISA_USER} diff --git a/tests/container_test.py b/tests/container_test.py index 1dda165..330d7ff 100644 --- a/tests/container_test.py +++ b/tests/container_test.py @@ -71,13 +71,10 @@ def test_log_version(version_container): """Verify the container outputs the correct version to the logs.""" version_container.wait() # make sure container exited if running test isolated log_output = version_container.logs().decode("utf-8").strip() - print("log output:", log_output) - pkg_vars = {} with open(VERSION_FILE) as f: exec(f.read(), pkg_vars) # nosec project_version = pkg_vars["__version__"] - print("project version: ", project_version) assert ( log_output == project_version ), f"Container version output to log does not match project version file {VERSION_FILE}"