Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
3e81a626
Unverified
Commit
3e81a626
authored
Jun 16, 2020
by
Arve Knudsen
Committed by
GitHub
Jun 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci-build: Upgrade Dockerfile to latest Debian Stretch (#25590)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent
b44c8b6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
scripts/build/ci-build/Dockerfile
+11
-12
No files found.
scripts/build/ci-build/Dockerfile
View file @
3e81a626
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
FROM
debian:stretch-20200
514
AS toolchain
FROM
debian:stretch-20200
607
AS toolchain
ENV
OSX_SDK_URL=https://s3.dockerproject.org/darwin/v2 \
ENV
OSX_SDK_URL=https://s3.dockerproject.org/darwin/v2 \
OSX_SDK=MacOSX10.10.sdk \
OSX_SDK=MacOSX10.10.sdk \
...
@@ -83,12 +83,13 @@ RUN mv golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64/golangci-lint /tmp/
...
@@ -83,12 +83,13 @@ RUN mv golangci-lint-${GOLANGCILINT_VERSION}-linux-amd64/golangci-lint /tmp/
# Base image to crossbuild grafana.
# Base image to crossbuild grafana.
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
# Use old Debian (this has support into 2022) in order to ensure binary compatibility with older glibc's.
FROM
debian:stretch-20200
514
FROM
debian:stretch-20200
607
ENV
GOVERSION=1.14.
3
\
ENV
GOVERSION=1.14.
4
\
PATH=/usr/local/go/bin:$PATH \
PATH=/usr/local/go/bin:$PATH \
GOPATH=/go \
GOPATH=/go \
NODEVERSION=12.17.0
NODEVERSION=12.18.0-1nodesource1 \
YARNVERSION=1.22.4-1
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
...
@@ -117,18 +118,16 @@ RUN apt-get update && \
...
@@ -117,18 +118,16 @@ RUN apt-get update && \
rubygems
\
rubygems
\
unzip
&&
\
unzip
&&
\
gem install
-N
fpm
&&
\
gem install
-N
fpm
&&
\
ln
-s
/usr/bin/llvm-dsymutil-6.0 /usr/bin/dsymutil
&&
\
ln
-s
/usr/bin/llvm-dsymutil-6.0 /usr/bin/dsymutil
&&
\
curl
-fL
https://nodejs.org/dist/v
${
NODEVERSION
}
/node-v
${
NODEVERSION
}
-linux-x64
.tar.xz
\
curl
-fsL
https://deb.nodesource.com/setup_12.x | bash -
&&
\
|
tar
-xJ
--strip-components
=
1
-C
/usr/local
&&
\
apt-get update
&&
apt-get install
-yq
nodejs
=
${
NODEVERSION
}
&&
\
curl
-fsS
https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
&&
\
curl
-fsS
https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
&&
\
echo
"deb [arch=amd64] https://dl.yarnpkg.com/debian/ stable main"
\
echo
"deb https://dl.yarnpkg.com/debian/ stable main"
| tee /etc/apt/sources.list.d/yarn.list
&&
\
| tee /etc/apt/sources.list.d/yarn.list
&&
\
apt-get update
&&
apt-get install
-yq
yarn
=
${
YARNVERSION
}
&&
\
apt-get update
&&
apt-get install
-yq
--no-install-recommends
yarn
&&
\
curl
-fL
https://storage.googleapis.com/golang/go
${
GOVERSION
}
.linux-amd64.tar.gz
\
curl
-fL
https://storage.googleapis.com/golang/go
${
GOVERSION
}
.linux-amd64.tar.gz
\
|
tar
-xz
-C
/usr/local
&&
\
|
tar
-xz
-C
/usr/local
&&
\
git clone https://github.com/raspberrypi/tools.git /opt/rpi-tools
--depth
=
1
git clone https://github.com/raspberrypi/tools.git /opt/rpi-tools
--depth
=
1
# We build our own musl cross-compilers via the musl-cross-make project, on the same OS as this image's base image,
# We build our own musl cross-compilers via the musl-cross-make project, on the same OS as this image's base image,
# to ensure compatibility. We also make sure to target musl 1.1.x, since musl 1.2.x introduces 64-bit time types
# to ensure compatibility. We also make sure to target musl 1.1.x, since musl 1.2.x introduces 64-bit time types
# that breaks compatibility on some 32-bit architectures (https://github.com/grafana/grafana/issues/23500).
# that breaks compatibility on some 32-bit architectures (https://github.com/grafana/grafana/issues/23500).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment