mirror of https://github.com/statping/statping
docker buildx
parent
2be9564fff
commit
0d6c4a89a7
|
@ -1,4 +1,4 @@
|
||||||
FROM --platform=$BUILDPLATFORM statping/statping:base AS base
|
FROM statping/statping:base AS base
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
# Statping main Docker image that contains all required libraries
|
# Statping main Docker image that contains all required libraries
|
||||||
FROM --platform=$BUILDPLATFORM alpine:latest
|
FROM --platform=$BUILDPLATFORM alpine:latest
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
ARG NODEIMAGE=node:10.17.0-alpine
|
|
||||||
FROM node:10.17.0-alpine AS frontend
|
FROM node:10.17.0-alpine AS frontend
|
||||||
LABEL maintainer="Hunter Long (https://github.com/hunterlong)"
|
LABEL maintainer="Hunter Long (https://github.com/hunterlong)"
|
||||||
ARG BUILDPLATFORM
|
ARG BUILDPLATFORM
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -335,19 +335,19 @@ certs:
|
||||||
buildx-master: buildx-base
|
buildx-master: buildx-base
|
||||||
docker buildx create --name statping-latest
|
docker buildx create --name statping-latest
|
||||||
docker buildx inspect --builder statping-latest --bootstrap
|
docker buildx inspect --builder statping-latest --bootstrap
|
||||||
docker buildx build --builder statping-latest --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile -t statping/statping:latest -t statping/statping:v${VERSION} --build-arg=VERSION=${VERSION} .
|
docker buildx build --builder statping-latest --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 -f Dockerfile -t statping/statping:latest -t statping/statping:v${VERSION} --build-arg=VERSION=${VERSION} .
|
||||||
docker buildx rm statping-latest
|
docker buildx rm statping-latest
|
||||||
|
|
||||||
buildx-dev: buildx-base
|
buildx-dev: buildx-base
|
||||||
docker buildx create --name statping-dev
|
docker buildx create --name statping-dev
|
||||||
docker buildx inspect --builder statping-dev --bootstrap
|
docker buildx inspect --builder statping-dev --bootstrap
|
||||||
docker buildx build --builder statping-dev --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile -t statping/statping:dev --build-arg=VERSION=${VERSION} .
|
docker buildx build --builder statping-dev --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 -f Dockerfile -t statping/statping:dev --build-arg=VERSION=${VERSION} .
|
||||||
docker buildx rm statping-dev
|
docker buildx rm statping-dev
|
||||||
|
|
||||||
buildx-base: multiarch
|
buildx-base: multiarch
|
||||||
docker buildx create --name statping-base
|
docker buildx create --name statping-base
|
||||||
docker buildx inspect --builder statping-base --bootstrap
|
docker buildx inspect --builder statping-base --bootstrap
|
||||||
docker buildx build --builder statping-base --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.base -t statping/statping:base --build-arg=VERSION=${VERSION} .
|
docker buildx build --builder statping-base --pull --push --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 -f Dockerfile.base -t statping/statping:base --build-arg=VERSION=${VERSION} .
|
||||||
docker buildx rm statping-base
|
docker buildx rm statping-base
|
||||||
|
|
||||||
multiarch:
|
multiarch:
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
"date-fns": "^2.9.0",
|
"date-fns": "^2.9.0",
|
||||||
"js-beautify": "^1.11.0",
|
"js-beautify": "^1.11.0",
|
||||||
"querystring": "^0.2.0",
|
"querystring": "^0.2.0",
|
||||||
|
"sass": "^1.26.10",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11",
|
||||||
"vue-apexcharts": "^1.5.2",
|
"vue-apexcharts": "^1.5.2",
|
||||||
"vue-clipboard2": "^0.3.1",
|
"vue-clipboard2": "^0.3.1",
|
||||||
|
@ -83,7 +84,6 @@
|
||||||
"mini-css-extract-plugin": "~0.5",
|
"mini-css-extract-plugin": "~0.5",
|
||||||
"mocha": "^7.0.1",
|
"mocha": "^7.0.1",
|
||||||
"mochapack": "^1.1.13",
|
"mochapack": "^1.1.13",
|
||||||
"node-sass": "^4.13.1",
|
|
||||||
"optimize-css-assets-webpack-plugin": "~5.0",
|
"optimize-css-assets-webpack-plugin": "~5.0",
|
||||||
"sass-loader": "^8.0.2",
|
"sass-loader": "^8.0.2",
|
||||||
"start-server-and-test": "^1.10.11",
|
"start-server-and-test": "^1.10.11",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue