Skip to content

Commit

Permalink
Merge pull request #8 from berga/master
Browse files Browse the repository at this point in the history
Closes #7 Add armv7 compatibility
  • Loading branch information
expaso authored Oct 20, 2020
2 parents 5a5e477 + 93aa797 commit 5932534
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion timescaledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apk update && apk add --no-cache git \
# Fixup build arch to be compatible with GO cross compile
&& REAL_ARCH="$BUILD_ARCH" \
&& if [[ ${REAL_ARCH} == "aarch64" ]]; then export REAL_ARCH="arm64"; fi \
&& if [[ ${REAL_ARCH} == "armv7" ]]; then export REAL_ARCH="arm"; fi \
# Build timescaledb-tune
&& cd timescaledb-tune/cmd/timescaledb-tune \
&& git fetch && git checkout --quiet $(git describe --abbrev=0) \
Expand Down Expand Up @@ -121,7 +122,8 @@ RUN set -ex \
# 3.0.2-r0
RUN set -ex \
&& apk add --no-cache \
postgis
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
postgis openexr@edge json-c@edge poppler@edge

# --------------------------------------
# Finish image
Expand Down
2 changes: 1 addition & 1 deletion timescaledb/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"slug": "timescaledb",
"description": "An open-source database built on PostgreSQL for analyzing time-series data with the power and convenience of SQL",
"url": "https://github.com/Expaso/hassos-addon-timescaledb",
"arch": ["aarch64", "amd64"],
"arch": ["aarch64", "amd64", "armv7"],
"startup": "system",
"boot": "auto",
"init": false,
Expand Down

0 comments on commit 5932534

Please sign in to comment.