kuryr-tempest-plugin/test_container/Dockerfile
Michał Dulko 46a98e1716 Test container: use UID instead of name
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
2023-02-23 17:23:47 +01:00

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"]