Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cezary-marczak committed Jun 17, 2024
1 parent a391389 commit 2ac8e11
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
22 changes: 20 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ RUN apk add --no-cache \
openssl1.1-compat-dev \
pango-dev \
pulseaudio-dev \
util-linux-dev \
ffmpeg-dev \
krb5-libs \
krb5 \
krb5-dev \
libgss \
krb5-conf \
util-linux-dev

# Copy source to container for sake of build
Expand Down Expand Up @@ -85,7 +92,7 @@ ARG FREERDP_OPTS="\
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_GSM=OFF \
-DWITH_GSSAPI=OFF \
-DWITH_GSSAPI=ON \
-DWITH_IPP=OFF \
-DWITH_JPEG=ON \
-DWITH_LIBSYSTEMD=OFF \
Expand All @@ -111,7 +118,11 @@ ARG FREERDP_OPTS="\
-DWITH_XRENDER=OFF \
-DWITH_XTEST=OFF \
-DWITH_XV=OFF \
-DWITH_ZLIB=ON"
-DWITH_ZLIB=ON \
-DWITH_KRB5=ON \
-DKRB5_TRACE=/dev/stdout \
-DDEBUG_NLA=ON \
-DGSS_ROOT_FLAVOUR=MIT"

ARG GUACAMOLE_SERVER_OPTS="\
--disable-guaclog"
Expand Down Expand Up @@ -175,6 +186,12 @@ RUN apk add --no-cache \
terminus-font \
ttf-dejavu \
ttf-liberation \
ffmpeg-dev \
krb5-conf \
krb5-libs \
krb5-dev \
krb5 \
libgss \
util-linux-login && \
xargs apk add --no-cache < ${PREFIX_DIR}/DEPENDENCIES

Expand All @@ -186,6 +203,7 @@ ARG UID=1000
ARG GID=10001
RUN groupadd --gid $GID guacd
RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd
COPY ./src/guacd-docker/krb5.conf /etc/krb5.conf

# Run with user guacd
USER guacd
Expand Down
16 changes: 16 additions & 0 deletions src/guacd-docker/krb5.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[libdefaults]
default_realm = PROCYON.COM
dns_lookup_kdc = true
dns_lookup_realm = true

[realms]
PROCYON.COM = {
kdc = cez-private.procyon.com
admin_server = cez-private.procyon.com
master_kdc = cez-private.procyon.com
default_domain = procyon.com
}

[domain_realm]
.procyon.com = PROCYON.COM
procyon.com = PROCYON.COM

0 comments on commit 2ac8e11

Please sign in to comment.