Skip to content

Instantly share code, notes, and snippets.

@freddi301
Created March 13, 2020 12:39
Show Gist options
  • Select an option

  • Save freddi301/e13e8631afb772dbd583650ba6fd8bf2 to your computer and use it in GitHub Desktop.

Select an option

Save freddi301/e13e8631afb772dbd583650ba6fd8bf2 to your computer and use it in GitHub Desktop.
teams for linux in docker
#!/usr/bin/env bash
cat > Dockerfile << EOF
FROM ubuntu
RUN apt-get update
RUN apt-get install -y wget
RUN wget -O teams-for-linux.deb --quiet "https://teams.microsoft.com/downloads/desktopurl?env=production&plat=linux&arch=x64&download=true&linuxArchiveType=deb"
RUN dpkg -i teams-for-linux.deb; apt-get -f -y install;
CMD ["/usr/share/teams/teams"]
EOF
# docker run --rm -it --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw" $(docker build -q .)
x11docker --clipboard --pulseaudio --gpu --alsa --webcam --dbus --hostnet $(docker build -q .)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment