This commit is contained in:
+12
-2
@@ -2,5 +2,15 @@ FROM alpine:3.14
|
||||
|
||||
RUN apk update
|
||||
RUN apk upgrade
|
||||
RUN apk add rustup postgresql
|
||||
RUN rustup install stable
|
||||
RUN apk add rustup postgresql shadow bash
|
||||
|
||||
RUN useradd -ms /bin/bash test
|
||||
RUN mkdir /test
|
||||
RUN chown test:test /test
|
||||
|
||||
USER test
|
||||
WORKDIR /test
|
||||
|
||||
ENV PATH="/test/.cargo/bin:$PATH"
|
||||
|
||||
RUN rustup-init -y
|
||||
|
||||
Reference in New Issue
Block a user