chore: fix docker build

This commit is contained in:
Lakhan Samani 2021-10-28 07:17:44 +05:30
parent abc2991e1c
commit 08b1f97ccb
2 changed files with 2 additions and 15 deletions

View File

@ -5,7 +5,7 @@ on:
jobs: jobs:
releases: releases:
name: Release Authorizer Binary name: Release Authorizer Binary
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install dependencies - name: Install dependencies

View File

@ -95,13 +95,12 @@ binaries are baked with required deployment files and bundled. You can download
- Mac OSX - Mac OSX
- Linux - Linux
- Windows
### Step 1: Download and unzip bundle ### Step 1: Download and unzip bundle
- Download the Bundle for the specific OS from the [release page](https://github.com/authorizerdev/authorizer/releases) - Download the Bundle for the specific OS from the [release page](https://github.com/authorizerdev/authorizer/releases)
> Note: For windows, it includes `.zip` file. For Linux & MacOS, it includes `.tar.gz` file. > Note: For windows, we recommend running using docker image to run authorizer.
- Unzip using following command - Unzip using following command
@ -111,12 +110,6 @@ binaries are baked with required deployment files and bundled. You can download
tar -zxf AUTHORIZER_VERSION -c authorizer tar -zxf AUTHORIZER_VERSION -c authorizer
``` ```
- Windows
```sh
unzip AUTHORIZER_VERSION
```
- Change directory to `authorizer` - Change directory to `authorizer`
```sh ```sh
@ -137,12 +130,6 @@ Required environment variables are pre-configured in `.env` file. But based on t
./build/server ./build/server
``` ```
- For windows
```sh
./build/server.exe
```
> Note: For mac users, you might have to give binary the permission to execute. Here is the command you can use to grant permission `xattr -d com.apple.quarantine build/server` > Note: For mac users, you might have to give binary the permission to execute. Here is the command you can use to grant permission `xattr -d com.apple.quarantine build/server`
## Install instance on Heroku ## Install instance on Heroku