Skip to content

Commit

Permalink
Abandon attempt to run CI image as non-root
Browse files Browse the repository at this point in the history
It does not work in concourse. See concourse/concourse#403
and concourse/concourse#5759.

Co-authored-by: Georgi Sabev <[email protected]>
  • Loading branch information
Kieron Browne and georgethebeatle committed Jul 28, 2022
1 parent f6c0b1a commit 7705849
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions images/ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,3 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& sudo apt update \
&& sudo apt install -y yarn

ENV GOPATH=
RUN useradd -m ci -s /bin/bash -U && chown -R ci:ci /home/ci
USER ci:ci
4 changes: 2 additions & 2 deletions pipelines/tasks/run-e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
platform: linux

caches:
- path: /home/ci/.cache/go-build
- path: /home/ci/go/pkg/mod
- path: /root/.cache/go-build
- path: /go/pkg/mod

inputs:
- name: korifi-ci
Expand Down
4 changes: 2 additions & 2 deletions pipelines/tasks/run-make-target.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
platform: linux

caches:
- path: /home/ci/.cache/go-build
- path: /home/ci/go/pkg/mod
- path: /root/.cache/go-build
- path: /go/pkg/mod

inputs:
- name: korifi-ci
Expand Down
4 changes: 2 additions & 2 deletions pipelines/tasks/run-smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
platform: linux

caches:
- path: /home/ci/.cache/go-build
- path: /home/ci/go/pkg/mod
- path: /root/.cache/go-build
- path: /go/pkg/mod

inputs:
- name: korifi-ci
Expand Down

0 comments on commit 7705849

Please sign in to comment.