Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix firefox youtube issue #376

Closed
wants to merge 3 commits into from
Closed

Fix firefox youtube issue #376

wants to merge 3 commits into from

Conversation

ngaro
Copy link
Contributor

@ngaro ngaro commented May 14, 2018

  • Adds comments on how to run the firefox container
  • Fixes crashing tabs in certain cases. This is best visible when playing youtube movies

@ngaro
Copy link
Contributor Author

ngaro commented May 14, 2018

I didn't add these fixes to the alpine-version of firefox because it is pretty much broken beyond repair...

@koep
Copy link
Collaborator

koep commented Jun 14, 2018

I tested it and it seems stable - ping @jessfraz

#Creates a default profile where browser.tabs.remote.autostart is turned off.
#This fixes tabs crashing in certain cases (e.g. playing youtube movies).
RUN mkdir -p /root/.mozilla/firefox/abcdefgh.default
RUN echo 'user_pref("browser.tabs.remote.autostart", false);' > /root/.mozilla/firefox/abcdefgh.default/user.js
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this maybe be replaced by a COPY instruction (like local.conf)?

#This fixes tabs crashing in certain cases (e.g. playing youtube movies).
RUN mkdir -p /root/.mozilla/firefox/abcdefgh.default
RUN echo 'user_pref("browser.tabs.remote.autostart", false);' > /root/.mozilla/firefox/abcdefgh.default/user.js
RUN echo '[General]\n\
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above. COPY seems more clean in this case right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where would you copy from while still keeping the configfile as clean as possible ?

(Small warning: I haven't looked at this for months, have a terrible memory, am answering without looking at the original code or my changes. So chances are i am missing/forgetting something)

@mviereck
Copy link
Contributor

mviereck commented Aug 26, 2018

I suggest not to create a user profile setting in /root but to change /etc/firefox/syspref.js instead.

I am running jess/firefox not as root but as an unprivileged user in container. Currently the fix does not apply in that case. Changing the setting system wide would apply for all container users.

I suggest a line:

 RUN echo 'pref("browser.tabs.remote.autostart", false);' >> /etc/firefox/syspref.js

(EDIT: removed user_ from user_pref, must use pref only.)

@jessfraz jessfraz mentioned this pull request Sep 14, 2018
@elerch
Copy link

elerch commented Sep 19, 2018

So I went down the rabbit hole of audio + unprivileged user last night and got pretty much nowhere. @mviereck - do you have any more data on the cause of the issue? This Nix issue and comment describes pretty well what I'm seeing, but the goal I think in this case would be to let FF use PA as provided by the host.

@ngaro
Copy link
Contributor Author

ngaro commented Sep 19, 2018

Not that I'm trying to create a heavy discussion (although it will probably follow), but is not running as root worth all the extra issues ?

It's a container after all...

@mviereck
Copy link
Contributor

mviereck commented Sep 19, 2018

@mviereck - do you have any more data on the cause of the issue?

Not really yet - I don't know what browser.tabs.remote.autostart does at all. It fixes crashing tabs as @ngaro found out (thank you!).
It also fixes "my" ticket #360. (I found that insecure option --ipc=host fixes crashing tabs, too.)

I suggest to transform @ngaro's solution to this short setup that works for all container users:

 RUN echo 'pref("browser.tabs.remote.autostart", false);' >> /etc/firefox/syspref.js

So I went down the rabbit hole of audio + unprivileged user last night and got pretty much nowhere.

The audio thing is a different issue. Maybe we should discuss it in #410. I have a working pulseaudio setup. Sharing /dev/snd fails here, too.

Not that I'm trying to create a heavy discussion (although it will probably follow), but is not running as root worth all the extra issues ?
It's a container after all...

Yes, it is worth it. :p
Especially for browsers as one of the biggest security riscs I try to restrict them as much as possible. And root in container is still root e.g. accessing the host kernel. Although root in container has less privileges than on host, it still has much more power than a browser should have.

@elerch
Copy link

elerch commented Sep 20, 2018

To add to @mviereck's comment, typically with the browser you're hosting your profile and downloads on the host (you could use a volume, but I don't think that's typical - as if anything anyone does running desktop apps in containers "typical" :) ). In that case, you end up with your home directory with root-owned files that are downloaded from the Internet.

Thanks for the legwork @mviereck ! I'll check out your PR shortly.

jessfraz pushed a commit that referenced this pull request Oct 4, 2018
…#429)

Sets browser.tabs.remote.autostart = false to avoid tab crashes. #376, #360
Adds apulse to provide fake pulseaudio to allow ALSA sound again. #410
Adds libpulse0 to allow pulseaudio sound. #issuecomment-422969073
ENTRYPOINT wrapper script to run with or without apulse wrapper, depending on given or missing /dev/dri
@jessfraz
Copy link
Owner

jessfraz commented Oct 4, 2018

fixed by #429 thanks!

@jessfraz jessfraz closed this Oct 4, 2018
@ngaro ngaro deleted the master branch November 21, 2018 21:51
asnama added a commit to asnama/dockerfiles that referenced this pull request Feb 25, 2021
* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add mailgun

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* remove -x

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update now

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* turn modules on

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add gcc

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update github-dev

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update;

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add ssh terminal

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update comment

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update alpha

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update makefile

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update keepassxc

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix tests

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add delete ref script

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* copy in file

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* copy in file

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update latest versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* remove logging

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* nginx version

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fixup

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update dockerfiles

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update latest versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* better badge

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix readme

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* cleanup and fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add docker and make

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* remove

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* libgtk3 needed for latest torbrowser alpha (jessfraz#431)

Signed-off-by: Weston Steimel <weston.steimel@gmail.com>

* Allow ALSA and pulseaudio sound (jessfraz#410). Fix tab crashes (jessfraz#376, jessfraz#360). (jessfraz#429)

Sets browser.tabs.remote.autostart = false to avoid tab crashes. jessfraz#376, jessfraz#360
Adds apulse to provide fake pulseaudio to allow ALSA sound again. jessfraz#410
Adds libpulse0 to allow pulseaudio sound. #issuecomment-422969073
ENTRYPOINT wrapper script to run with or without apulse wrapper, depending on given or missing /dev/dri

* switch vlc to stretch-slim (jessfraz#428)

Previously this Dockerfile was using buster, but would throw the error:
```
Could not find the Qt platform plugin "xcb" in ""
```

Switching to stretch solves the problem.

Similar to issue:
jessfraz#401

* update firefox

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add mars

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* switch to openjdk

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add linapple

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* Add files via upload

* Add files via upload

* cleanup

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add pdp-10:its image

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* libncurses add

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* tor browser update (jessfraz#433)

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update tor-browser alpha

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add ffmpeg to firefox for mp4 video support (jessfraz#434)

* add packer

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update packer

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add nomad

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* add cfssl

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* Add USAGE to httpbin Dockerfile (jessfraz#436)

* fix github-dev

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* cleanup

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* Update tor browser (jessfraz#438)

* update

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* cleanup

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix nomad and atom

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update dockerfile versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* bump rstudio

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix iceweasel and radarr

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix terraform

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* [postfix] expose logs by linking to STDOUT (jessfraz#440)

* update postfix

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update github-dev

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* fix bcc

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* cleanup

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix alpine repo urls

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix foss-heartbeat and couchpotato

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update tor browser (jessfraz#450)

* Fix Wireguard Build (jessfraz#443)

* Switched to elfutils-libelf from libelf-dev

Fixes jessfraz#403

* Restored 	libelf-dev

* 1. Fix occassional GPG key retrieval failures (jessfraz#449)

GPG key retrieval from the single server failed on each and every
build for me. I found a solution recorded under issue jessfraz#35 at
tianon/gosu:
tianon/gosu#35 (comment)

2. Update gosu to latest version whilst we're at it.

Container tested for 24 hours, no observed issues.

* add noto to firefox (jessfraz#446)

* AzureRm -> Az; Remove AzureAD (jessfraz#444)

Change PowerShell modules due to Linux incompatibilities

* update tor browser alpha (jessfraz#452)

* update latest versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix nomad

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix chromium

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix terraform

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update clean registry

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update dockerfile versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* cleanup latest versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fixups

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix shellcheck

Signed-off-by: Jess Frazelle <acidburn@github.com>

* remove clean registry

Signed-off-by: Jess Frazelle <acidburn@github.com>

* fix some builds

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update telize

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update latest versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* cleanup mitmproxy

Signed-off-by: Jess Frazelle <acidburn@github.com>

* toc

Signed-off-by: Jess Frazelle <acidburn@github.com>

* Update ToC for README.md

* update torbrowser stable (jessfraz#457)

Signed-off-by: Christian Koep <ckoep@redhat.com>

* Update tor browser stable (jessfraz#461)

* Replaced deprecated MAINTAINER with LABEL (jessfraz#456)

* update versions

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update dockerfiles

Signed-off-by: Jess Frazelle <acidburn@github.com>

* update oauth2 proxy;

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update and fix nomad

Signed-off-by: Jess Frazelle <acidburn@github.com>

* Create FUNDING.yml

* Update tor browser (jessfraz#471)

* Update tor browser (jessfraz#472)

* Bump Unifi controller to 5.10.20 (jessfraz#473)

This commit bumps the version of the Unifi controller from 5.10.19 to
5.10.20.

* gparted update: procps and usage (jessfraz#467)

* update gparted: added procps

* update gparted: example command

* procps package is required for ps (jessfraz#453)

The run-skype-and-wait-for-exit script requires the ps binary but it isn't available as procps package isn't installed.

* Add dependency to enable sound in Spotify (jessfraz#460)

Spotify crashes if run with pulseaudio server configuration, I fixed it by adding libpulse0 to the dependencies.

* update tor browser (jessfraz#479)

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update terraform and consul

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update consul and rstudio

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix zookeeper

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix dockerfile builds

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* repo

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* first half of updates

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* more updates to versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update more versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add more files

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix tor

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix foss-heartbeat

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* more updates to versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix foss-heartbeat

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update latest versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update osquery

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* change gitiles bazel version

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Revert "change gitiles bazel version"

This reverts commit aaef882.

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* more updates to versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add openbmc

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add bpftrace

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add bpftrace version;

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add weechat-matrix

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Fix build for SC2236 (jessfraz#496)

* attempt to fix build

correcting error message from travis ci

In ./github-dev/cleanup-pr-branch line 5:
if [[ ! -z "$TOKEN" ]]; then
      ^-- SC2236: Use -n instead of ! -z.

* Update cleanup-pr-branch

* Update release-email-notification

corrected SC2236

* Update upload-assets

correct SC2236

* Update sendemail

Fix SC2236

* Update entrypoint.sh

Fix SC2236

* Update run

Fix SC2236

* fix

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Fix missing python dependency and add some conveniences to weechat (jessfraz#498)

* Switch user from a system user to a regular user

* Add a run string

* Add python dependency for weechat-python.

* tor browser version bump (jessfraz#489)

* up versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Follow Dockerfile best practice by verifying file download against GPG signature. (jessfraz#485)

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Fix jessfraz#482 (jessfraz#483)

Adds ssh client to vagrant docker image

Signed-off-by: R00t Killah <r00tkillah@gmail.com>

* alphabetize

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* Allow to pass command line arguments to dockerized firefox (jessfraz#481)

* Allow to pass command line arguments to dockerized firefox

* Double quoted

* Add device discovery port to expose (jessfraz#477)

I'm not sure if this was recently changed but the unifi controller uses port 10001 over UDP for device discovery. Adding this got my installation to work. 

Thanks for this!

* cleanup (jessfraz#474)

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update osquery

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update gitiles

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* delete openbmc-sdk

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add kicad

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add openscad

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* start network

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix kvm

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update libvirt

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix shellcheck

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update versions

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update certbot

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* fix certbot

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* rstudio

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* cleanup now

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update dockerfiles

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add pomerium

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add golinks

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* add cura

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>

* figma wine

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update wine

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update wine

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update wine

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* figma wine

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* unprivileged user

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* unprivileged user

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* download unifi deb package via https (jessfraz#526)

* tor-browser: Add file, update versions (jessfraz#525)

* Update Unifi (jessfraz#524)

* fix requestbin

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update versions

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix wireguard build, change to sid-slim (jessfraz#516)

* Update gcalcli image to python3 (jessfraz#504)

The latest gcalcli uses shutil.get_terminal_size which isn't
backported to python2's shutil.

* update image to use python3 (jessfraz#531)

python2 has reached end of life, so replacing it with python3.

In addition, pip (python3 version) comes along with the python3 install
on alpine, so no need to install that explicitly.

* update versions

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update versions

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update version

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix buillds

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* cheange vversion

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* u[date

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix powershell

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix telize

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update zookeeper

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fixups

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* add zookeeper

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix zoo

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update gitiles

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix shellcheck

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* add brok

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix telize

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* add aspell

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* add dictionary

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* update versions

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* Update Dockerfile

* update

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* telize

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* fix telize

Signed-off-by: Jess Frazelle <jess@oxide.computer>

* Update Dockerfile

* Update Dockerfile

* Fix Spotify not running and building (jessfraz#555)

I could neither run the upstream Docker image nor could I build the Dockerfile.

Bug 1
-----

Cannot run the upstream image:

```
docker pull jess/spotify
docker run -it --rm jess/spotify
spotify: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
```

Solution to bug 1
-----------------

Install `libsm6`

Bug 2
-----

Cannot build the Dockerfile:

```
cd dockerfiles/spotify
docker build . --pull
[...]
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.k3eQma7IzG/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 4773BD5E130D1D45
gpg: key 4773BD5E130D1D45: public key "Spotify Public Repository Signing Key <tux@spotify.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
Hit:1 http://deb.debian.org/debian sid InRelease
Get:2 http://repository.spotify.com stable InRelease [3316 B]
Err:2 http://repository.spotify.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
Reading package lists...
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D1742AD60D811D58
E: The repository 'http://repository.spotify.com stable InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get install -y 	dirmngr 	gnupg 	--no-install-recommends 	 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4773BD5E130D1D45 	 echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list 	    && apt-get update && apt-get install -y 	sa-utils 	  libgl1-mesa-dri 	  libgl1-mesa-glx 	  libpulse0 	  spotify-client 	utils 	    --no-install-recommends 	&& rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
```

Solution to bug 2
-----------------

Replaced instructions to retrieve the key with the official instructions from https://www.spotify.com/us/download/linux/

Co-authored-by: Jess Frazelle <acidburn@microsoft.com>
Co-authored-by: Weston Steimel <weston.steimel@gmail.com>
Co-authored-by: mviereck <bachbaum24@gmx.de>
Co-authored-by: Noël Jackson <n@noeljackson.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com>
Co-authored-by: Christian <christiankoep@gmail.com>
Co-authored-by: Rory Bradford <roryrjb@gmail.com>
Co-authored-by: graystevens <retrostyle@gmail.com>
Co-authored-by: trilitheus <trilitheus@users.noreply.github.com>
Co-authored-by: Jess Frazelle <acidburn@github.com>
Co-authored-by: Rakshit Menpara <deltasquare4@gmail.com>
Co-authored-by: James Osborne <dr.j.osborne@gmail.com>
Co-authored-by: Harpo Roeder <roederharpo@protonmail.ch>
Co-authored-by: Ace Eldeib <alexeldeib@gmail.com>
Co-authored-by: toc-me[bot] <toc-me[bot]@users.noreply.github.com>
Co-authored-by: Abraham Hernandez <abraham@abranhe.com>
Co-authored-by: Jess Frazelle <acidburn@jessfraz.com>
Co-authored-by: Jason Tedor <jason@tedor.me>
Co-authored-by: Bradley Massey <massey.bradley@gmail.com>
Co-authored-by: ocagdas <ocagdas@gmail.com>
Co-authored-by: Antoine Cardon <Toinews@users.noreply.github.com>
Co-authored-by: koep <ckoep@redhat.com>
Co-authored-by: Ahmed R. Awadallah <aawadall@ualberta.ca>
Co-authored-by: Nate Catelli <ncatelli@packetfire.org>
Co-authored-by: Florian We <florianwe185@gmail.com>
Co-authored-by: Michael Lescisin <IntegralProgrammer@users.noreply.github.com>
Co-authored-by: Hacker, J.R <r00tkillah@gmail.com>
Co-authored-by: crossminds <50927605+crossminds@users.noreply.github.com>
Co-authored-by: grrrrrrrrrr <grantseltzer@gmail.com>
Co-authored-by: Jess Frazelle <jess@oxide.computer>
Co-authored-by: hrtkpf <42646788+hrtkpf@users.noreply.github.com>
Co-authored-by: Nikolas Garofil <nikolas@garofil.be>
Co-authored-by: Christian Koep <6319666+koep@users.noreply.github.com>
Co-authored-by: ps <ps1337@mailbox.org>
Co-authored-by: Volker <volker-fr@users.noreply.github.com>
Co-authored-by: Adam Leskis <leskis@gmail.com>
Co-authored-by: Andre Schröder <andre.schroedr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants