Skip to content

Commit

Permalink
fix: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyMndy committed Feb 14, 2025
1 parent 770bdc6 commit 53cfd42
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kasm/kasm-el-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USER root
RUN dnf install -y sudo podman podman-docker && \
dnf clean all && \
rm -rf /var/cache/dnf
RUN sudo chmod ug+s /usr/bin/new{gid,uid}map
RUN chmod ug+s /usr/bin/new{gid,uid}map


RUN usermod -aG wheel kasm-user
Expand Down
6 changes: 3 additions & 3 deletions kasm/kasm-el-nix-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ ARG IMAGE_TAG
ARG BASE_IMAGE="ohmymndy/kasm-el-base:${IMAGE_TAG}"
FROM $BASE_IMAGE

RUN sudo dnf install -y xz && \
sudo dnf clean all && \
sudo rm -rf /var/cache/dnf
RUN dnf install -y xz && \
dnf clean all && \
rm -rf /var/cache/dnf

ENV NIX_VERSION=2.22.0
ENV LD_LIBRARY_PATH=
Expand Down
7 changes: 6 additions & 1 deletion proxy-all/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ def proxy():
if resp.status_code != 200:
return resp

excluded_headers = ["content-encoding", "transfer-encoding", "connection"]
excluded_headers = [
"content-encoding",
"transfer-encoding",
"connection",
"x-frame-options",
]
headers = [
(name, value)
for (name, value) in resp.raw.headers.items()
Expand Down

0 comments on commit 53cfd42

Please sign in to comment.