Skip to content

Commit 9d8f27b

Browse files
Add pmtiles feature
1 parent 80be782 commit 9d8f27b

4 files changed

Lines changed: 45 additions & 1 deletion

File tree

src/pmtiles/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# pmtiles (pmtiles)
2+
3+
pmtiles binary
4+
5+
## Example Usage
6+
7+
```json
8+
"features": {
9+
"ghcr.io/code-fabrik/features/pmtiles:1": {}
10+
}
11+
```
12+
13+
## Options
14+
15+
| Options Id | Description | Type | Default Value |
16+
| ---------- | ----------- | ---- | ------------- |
17+
18+
---
19+
20+
_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/code-fabrik/features/blob/main/src/pmtiles/devcontainer-feature.json). Add additional notes to a `NOTES.md`._
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "pmtiles",
3+
"id": "pmtiles",
4+
"version": "1.0.0",
5+
"description": "pmtiles binary",
6+
"options": {},
7+
"installsAfter": [
8+
"ghcr.io/devcontainers/features/common-utils"
9+
]
10+
}

src/pmtiles/install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
set -e
3+
4+
export DEBIAN_FRONTEND=noninteractive
5+
6+
echo "Activating feature 'pmtiles'"
7+
8+
apt-get update
9+
10+
apt-get install -y wget
11+
12+
wget https://github.com/protomaps/go-pmtiles/releases/download/v1.28.1/go-pmtiles_1.28.1_Linux_x86_64.tar.gz pmtiles.tar.gz
13+
14+
tar -xzf pmtiles.tar.gz -C /usr/local/bin/ && rm pmtiles.tar.gz

src/tippecanoe/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ apt-get install -y build-essential libsqlite3-dev zlib1g-dev git
1111

1212
git clone https://github.com/felt/tippecanoe.git
1313

14-
RUN cd tippecanoe && make -j && make install
14+
cd tippecanoe && make -j && make install
1515

1616
rm -rf tippecanoe

0 commit comments

Comments
 (0)