mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 23:53:24 +01:00
20 lines
429 B
Plaintext
20 lines
429 B
Plaintext
FROM debian:bookworm
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y install vim build-essential devscripts equivs
|
|
|
|
# Install build-deps for the package.
|
|
COPY ./debian/control /tmp
|
|
RUN apt-get update && echo YYY | mk-build-deps --install --remove /tmp/control
|
|
|
|
ARG L_UID
|
|
RUN if [ "$L_UID" -eq 0 ]; then \
|
|
useradd -m docker; \
|
|
else \
|
|
useradd -m docker -u $L_UID;\
|
|
fi
|
|
|
|
USER docker
|