46a98e1716
Newer OpenShift version won't allow you to specify username as `USER` instruction argument. This commit changes the test container dockerfile to create the user with `--uid 100` and then use `100` as the argument instead. Depends-On: I7ed0ae76108a409bc72bc61ab7c12164e8277257 Change-Id: I7a51b3553a17c21160f76e527a61ef829610a888
12 lines
189 B
Docker
12 lines
189 B
Docker
FROM quay.io/kuryr/alpine:3.12
|
|
|
|
ADD rootfs.tar.xz /
|
|
RUN apk update && apk add iputils
|
|
RUN adduser -S kuryr --uid 100
|
|
|
|
USER 100
|
|
WORKDIR /home/kuryr
|
|
|
|
EXPOSE 8080
|
|
CMD ["/usr/bin/helloserver"]
|