Skip to content

Commit

Permalink
devop: ff changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed May 20, 2024
1 parent 91b4f26 commit 02ec477
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ To get started make sure you have `nodejs` and `nvm` installed on your system
yarn build:firefox # firefox
```
5. Build the project for release (For Firefox team)

Since Firefox verification team looking for identical builds, you have to build it using docker

```sh
docker build -t enkrypt-build-container .
docker run --rm -v `pwd`:/home:rw --user "$(id -u):$(id -g)" enkrypt-build-container /bin/bash -c "yarn install --silent"
docker run --rm --user "$(id -u):$(id -g)" -v `pwd`:/home:rw enkrypt-build-container /bin/bash -c "cd packages/extension && yarn build:all"
docker run --rm --user "$(id -u):$(id -g)" -v `pwd`:/home:rw enkrypt-build-container /bin/bash -c "cd packages/extension && yarn build:firefox && yarn zip"
```

6. Add to your browser
- [Chrome/Brave/Opera](https://developer.chrome.com/docs/extensions/mv2/getstarted/#manifest)
- [Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing)
Expand Down

1 comment on commit 02ec477

@github-actions
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.