bcgov / TheOrgBook

A public repository of verifiable claims about organizations. A key component of the Verifiable Organization Network.
http://von.pathfinder.gov.bc.ca
Apache License 2.0
78 stars 66 forks source link

Updating to latest nginx permissions change method #873

Closed chrismajewski closed 4 years ago

chrismajewski commented 4 years ago

As per suggestion from @WadeBarnes to replicate https://github.com/bcgov/aries-vcr/pull/467/files for updating the permissions modification method for nginx in this repository.

Resolves the following:

STEP 5: COPY nginx.conf.template /tmp/
82ef431c8cb012f2367a1d5e0a116461e616987528193e763859afd2e05aa23d
STEP 6: RUN chmod -R 0777 /tmp /var /run /etc /mnt /usr/libexec/s2i/
chmod: changing permissions of '/run/secrets': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount/..2020_03_18_04_32_08.138392229': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount/..2020_03_18_04_32_08.138392229/service-ca.crt': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount/..2020_03_18_04_32_08.138392229/namespace': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount/..2020_03_18_04_32_08.138392229/ca.crt': Read-only file system
chmod: changing permissions of '/run/secrets/kubernetes.io/serviceaccount/..2020_03_18_04_32_08.138392229/token': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/pull': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/pull/..2020_03_18_04_32_08.436960704': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/pull/..2020_03_18_04_32_08.436960704/.dockercfg': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/push': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/push/..2020_03_18_04_32_08.297673950': Read-only file system
chmod: changing permissions of '/run/secrets/openshift.io/push/..2020_03_18_04_32_08.297673950/.dockercfg': Read-only file system
chmod: changing permissions of '/run/secrets/rhsm': Read-only file system
chmod: changing permissions of '/run/secrets/rhsm/ca': Read-only file system
chmod: changing permissions of '/run/secrets/rhsm/ca/redhat-uep.pem': Read-only file system
subprocess exited with status 1
subprocess exited with status 1
error: build error: error building at STEP "RUN chmod -R 0777 /tmp /var /run /etc /mnt /usr/libexec/s2i/": exit status 1
angular-on-nginx-build
error instantiating Build from BuildConfig devex-von-tools/angular-on-nginx-build (0): Error resolving ImageStreamTag nginx-runtime:latest in namespace devex-von-tools: unable to find latest tagged image
chrismajewski commented 4 years ago

Nice, first time I've signed off on a commit

WadeBarnes commented 4 years ago

Duplicate of; https://github.com/bcgov/TheOrgBook/pull/870