fixed typos and add new line in last line
This commit is contained in:
parent
45132813c2
commit
2a11a23586
@ -22,9 +22,9 @@ RUN mkdir -p /opt/rdpgw && cd /opt/rdpgw && \
|
|||||||
openssl x509 -req -days 365 -in server.csr -signkey key.pem -out server.pem
|
openssl x509 -req -days 365 -in server.csr -signkey key.pem -out server.pem
|
||||||
|
|
||||||
# add user
|
# add user
|
||||||
RUN adduser --disabled-password --gecos "" --home /opt/rdpgw --uid 1001 rdgw
|
RUN adduser --disabled-password --gecos "" --home /opt/rdpgw --uid 1001 rdpgw
|
||||||
|
|
||||||
# build rdwgw and set rights
|
# build rdpgw and set rights
|
||||||
RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \
|
RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \
|
||||||
cd /app && \
|
cd /app && \
|
||||||
go mod tidy && \
|
go mod tidy && \
|
||||||
@ -46,4 +46,4 @@ COPY rdpgw.yaml /opt/rdpgw/rdpgw.yaml
|
|||||||
|
|
||||||
USER 1001
|
USER 1001
|
||||||
WORKDIR /opt/rdpgw
|
WORKDIR /opt/rdpgw
|
||||||
ENTRYPOINT /opt/rdpgw/rdpgw
|
ENTRYPOINT /opt/rdpgw/rdpgw
|
||||||
|
Loading…
Reference in New Issue
Block a user