Revert "Specify user for Docker containers"
This reverts commit 552abb2a4668184de6652292443b9cfca0ed97ea. Change-Id: Ia7b4951e589365a5ecf3b57836a355763b981368
This commit is contained in:
parent
552abb2a46
commit
6c5cf09641
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
*build/
|
*build/
|
||||||
.idea/
|
|
@ -39,9 +39,3 @@ RUN curl -L https://github.com/mikefarah/yq/releases/download/2.4.0/yq_linux_amd
|
|||||||
&& chmod +x /bin/yq
|
&& chmod +x /bin/yq
|
||||||
|
|
||||||
CMD /bin/bash /builder/build.sh
|
CMD /bin/bash /builder/build.sh
|
||||||
|
|
||||||
RUN useradd airship --create-home --shell=/bin/bash
|
|
||||||
|
|
||||||
USER airship
|
|
||||||
|
|
||||||
WORKDIR /home/airship/
|
|
@ -14,9 +14,3 @@ RUN set -ex ;\
|
|||||||
FROM ubuntu:18.04 as dist
|
FROM ubuntu:18.04 as dist
|
||||||
|
|
||||||
COPY --from=downloader /tmp/ironic-python-agent /
|
COPY --from=downloader /tmp/ironic-python-agent /
|
||||||
|
|
||||||
RUN useradd airship --create-home --shell=/bin/bash
|
|
||||||
|
|
||||||
USER airship
|
|
||||||
|
|
||||||
WORKDIR /home/airship/
|
|
Loading…
x
Reference in New Issue
Block a user