Skip to content

Commit 401ea1b

Browse files
authored
chore(snap): specify platforms and add readme (#156)
* chore(snap): specify platforms Also updates the `ARCH` env variable as per https://snapcraft.io/docs/migrate-core24 * add logo and readme
1 parent 3ce11ad commit 401ea1b

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33
Install [Coder](https://github.com/coder/coder) to your preferred cloud with a pre-built package.
44

5-
| Logo | Platform Name | Status | Documentation | Deploy |
6-
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Guide: AWS](https://coder.com/docs/v2/latest/platforms/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8-
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9-
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/coder?referralCode=tfH8Uw) |
10-
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | [Docs: Deploy Coder on Heroku](./heroku/README.md) | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
11-
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render | Live ✅ | [Docs: Deploy Coder on Render](./render/README.md) | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
12-
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
13-
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Live ✅ | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/gcp) | [Deploy from GCP Marketplace](https://console.cloud.google.com/marketplace/product/coder-enterprise-market-public/coder-v2) |
5+
| Logo | Platform Name | Status | Documentation | Deploy |
6+
| ---------------------------------------------------------------------------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| <img src="./assets/ec2.svg" alt="AWS EC2 Logo" width="100" height="100" /> | AWS EC2 | Live ✅ | [Guide: AWS](https://coder.com/docs/v2/latest/platforms/aws) | [Deploy from AWS Marketplace](https://aws.amazon.com/marketplace/pp/prodview-5gxjyur2vc7rg?sr=0-2&ref_=beagle&applicationId=AWSMPContessa) |
8+
| <img src="./assets/fly.io.svg" alt="Fly.io Logo" width="100" height="100" /> | Fly.io | Live ✅ | [Blog: Run Coder on Fly.io](https://coder.com/blog/remote-developer-environments-on-fly-io) | [Deploy Coder on FLy.io](https://coder.com/blog/remote-developer-environments-on-fly-io) |
9+
| <img src="./assets/railway.svg" alt="Railway.app Logo" width="100" height="100" /> | Railway.app | Live ✅ | [Blog: Run Coder on Railway.app](https://coder.com/blog/deploy-coder-on-railway-app) | [![Deploy Coder on Railway](https://railway.app/button.svg)](https://railway.app/template/coder?referralCode=tfH8Uw) |
10+
| <img src="./assets/heroku.svg" alt="Heroku Logo" width="100" height="100" /> | Heroku | Live ✅ | [Docs: Deploy Coder on Heroku](./heroku/README.md) | [![Deploy Coder on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/coder/packages) |
11+
| <img src="./assets/render.png" alt="Render.com Logo" width="100" height="100" /> | Render | Live ✅ | [Docs: Deploy Coder on Render](./render/README.md) | [![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/coder/packages) |
12+
| <img src="./assets/eks.svg" alt="AWS EKS Logo" width="100" height="100" /> | AWS EKS | In progress | [Docs: Coder on Kubernetes](https://coder.com/docs/v2/latest/install/kubernetes) | [Deploy from AWS Marketplace](https://example.com) |
13+
| <img src="./assets/gce.svg" alt="Google Compute Engine logo" width="100" height="100" /> | Google Compute Engine | Live ✅ | [Guide: Google Compute Engine](https://coder.com/docs/v2/latest/platforms/gcp) | [Deploy from GCP Marketplace](https://console.cloud.google.com/marketplace/product/coder-enterprise-market-public/coder-v2) |
14+
| <img src="./assets/snapcraft.svg" alt="Snapcraft Logo" width="100" height="100" /> | Snapcraft | Live ✅ | [Install Coder from Snapcraft](https://snapcraft.io/coder) |
15+
16+
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/coder)
17+
|

assets/snapcraft.svg

Lines changed: 2 additions & 0 deletions
Loading

snap/snapcraft.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ description: |
1919
grade: stable
2020
confinement: strict
2121

22+
platforms:
23+
amd64:
24+
arm64:
25+
2226
parts:
2327
coder:
2428
plugin: dump
25-
source: https://github.com/coder/coder/releases/download/v$SNAPCRAFT_PROJECT_VERSION/coder_$SNAPCRAFT_PROJECT_VERSION_linux_$CRAFT_TARGET_ARCH.tar.gz
29+
source: https://github.com/coder/coder/releases/download/v$SNAPCRAFT_PROJECT_VERSION/coder_$SNAPCRAFT_PROJECT_VERSION_linux_$CRAFT_ARCH_BUILD_FOR.tar.gz
2630

2731
apps:
2832
coder:
@@ -32,4 +36,3 @@ apps:
3236
- home
3337
- network
3438
- network-bind
35-

0 commit comments

Comments
 (0)