docker-firefox icon indicating copy to clipboard operation
docker-firefox copied to clipboard

Urgent help

Open supermanIT opened this issue 4 years ago • 7 comments

supermanIT avatar Dec 21 '19 03:12 supermanIT

What is the issue?

jlesage avatar Dec 23 '19 02:12 jlesage

Thanks for your response.

I am customizing docker file to set default setting and install firefox addons. But when executing "docker build .", in "install firefox" docker file, error occurs.

Executing mkfontscale-1.2.1-r1.trigger 2 errors; 298 MiB in 132 packages The command '/bin/sh -c add-pkg --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing

I don't know well why error occurred. So, I need your help.

I hope your kind reply. Thank you.

On Mon, Dec 23, 2019 at 10:56 AM Jocelyn Le Sage [email protected] wrote:

What is the issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-firefox/issues/40?email_source=notifications&email_token=AM3T4ANQWSRGTAEMON5ODRLQ2ASGJA5CNFSM4J6FDWMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHQCBZQ#issuecomment-568336614, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3T4AK47XBHSZ26FK4MJC3Q2ASGJANCNFSM4J6FDWMA .

supermanIT avatar Dec 23 '19 08:12 supermanIT

One more. Would you like to explain how to add firefox extension and set default setting in docker file? Thanks. Regards

On Mon, Dec 23, 2019 at 4:13 PM superman IT [email protected] wrote:

Thanks for your response.

I am customizing docker file to set default setting and install firefox addons. But when executing "docker build .", in "install firefox" docker file, error occurs.

Executing mkfontscale-1.2.1-r1.trigger 2 errors; 298 MiB in 132 packages The command '/bin/sh -c add-pkg --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing

I don't know well why error occurred. So, I need your help.

I hope your kind reply. Thank you.

On Mon, Dec 23, 2019 at 10:56 AM Jocelyn Le Sage [email protected] wrote:

What is the issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-firefox/issues/40?email_source=notifications&email_token=AM3T4ANQWSRGTAEMON5ODRLQ2ASGJA5CNFSM4J6FDWMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHQCBZQ#issuecomment-568336614, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3T4AK47XBHSZ26FK4MJC3Q2ASGJANCNFSM4J6FDWMA .

supermanIT avatar Dec 23 '19 08:12 supermanIT

Note that the container is currently not building. This will be fixed with support for the latest Firefox version.

jlesage avatar Dec 25 '19 19:12 jlesage

To set default Firefox settings, you can look at https://github.com/jlesage/docker-firefox/blob/94b24e3c9ec9b5183158f738c91e8135fb896cd7/Dockerfile#L66 for an example.

Also, you can just set them at runtime: https://github.com/jlesage/docker-firefox#setting-firefox-preferences-via-environment-variables

jlesage avatar Dec 25 '19 19:12 jlesage

I'm now sure not to install Firefox extension from Dockerfile, I never tried...

jlesage avatar Dec 25 '19 19:12 jlesage

Looks like /config/profile and you want to append to extensions.json as well as placing and referring to the XPI file (actual extension) into that /config/profile/extensions folder. It's certainly is possible but NOT easy... for instance, look at what needs to be added/appended to extensions.json for my fave TreeStyleTabs:

,{"id":"[email protected]","syncGUID":"{f344eeb8-27e6-49ac-bc16-a431ea522caa}","version":"3.5.4","type":"extension","loader":null,"updateURL":null,"optionsURL":"/options/options.html","optionsType":5,"optionsBrowserStyle":true,"aboutURL":null,"defaultLocale":{"name":"Tree Style Tab","description":"Show tabs like a tree.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null},"visible":true,"active":true,"userDisabled":false,"appDisabled":false,"embedderDisabled":false,"installDate":1578616932708,"updateDate":1588744730482,"applyBackgroundUpdates":1,"path":"/config/profile/extensions/[email protected]","skinnable":false,"sourceURI":"https://addons.cdn.mozilla.net/user-media/addons/5890/tree_style_tab_-3.5.4-fx.xpi?filehash=sha256%3A6f6725aac13b2e019124e979e862a62f487f7415dfabf92901ec07c1190e435a","releaseNotesURI":"https://addons.mozilla.org/versions/updateInfo/5018065/en-US/","softDisabled":false,"foreignInstall":false,"strictCompatibility":true,"locales":[{"name":"Tree Style Tab","description":"Show tabs like a tree.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["en"]},{"name":"Tree Style Tab - ツリー型タブ","description":"タブをツリー状に表示します。","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["ja"]},{"name":"Tree Style Tab","description":"Показує вкладки вертикальним деревовидним списком.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["uk"]},{"name":"Tree Style Tab","description":"Affiche les onglets sous forme d'arbre.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["fr"]},{"name":"Tree Style Tab","description":"Stellt Tabs in einer Baumstruktur dar.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["de"]},{"name":"Tree Style Tab - 树状标签页管理","description":"在侧栏中以树状结构显示标签页。","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["zh-CN"]},{"name":"Tree Style Tab","description":"以樹狀結構表示分頁","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["zh-TW"]},{"name":"Tree Style Tab","description":"Показывает вкладки вертикальным древовидным списком.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["ru"]},{"name":"Tree Style Tab - 트리 스타일 탭","description":"탭을 트리 모양으로 보여줍니다.","creator":"YUKI \"Piro\" Hiroshi","developers":null,"translators":null,"contributors":null,"locales":["kr"]}],"targetApplications":[{"id":"[email protected]","minVersion":"65.0","maxVersion":"*"}],"targetPlatforms":[],"signedState":2,"seen":true,"dependencies":[],"incognito":"spanning","userPermissions":{"permissions":["activeTab","contextualIdentities","cookies","menus","menus.overrideContext","notifications","search","sessions","storage","tabs","theme"],"origins":[]},"optionalPermissions":{"permissions":["bookmarks","tabHide"],"origins":["<all_urls>"]},"icons":{"16":"/resources/16x16.svg","20":"/resources/20x20.svg","24":"/resources/24x24.svg","32":"/resources/32x32.svg","64":"/resources/icon64.png","94":"/resources/icon94.png"},"iconURL":null,"blocklistState":0,"blocklistURL":null,"startupData":null,"hidden":false,"installTelemetryInfo":{"source":"amo","method":"amWebAPI"},"recommendationState":{"validNotAfter":1746481579000,"validNotBefore":1588693579000,"states":["recommended"]},"rootURI":"jar:file:///config/profile/extensions/[email protected]/extensions/[email protected]!/","location":"app-profile"}

JZ-SmartThings avatar May 26 '20 03:05 JZ-SmartThings