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
2ba00837
Unverified
Commit
2ba00837
authored
Jul 28, 2020
by
Artem Kuchumov
Committed by
GitHub
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docker: Don't upgrade packages when installing (#24132) (#26055)
parent
34c2f440
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Dockerfile
+1
-1
Dockerfile.ubuntu
+1
-1
packaging/docker/Dockerfile
+2
-2
packaging/docker/ubuntu.Dockerfile
+1
-1
No files found.
Dockerfile
View file @
2ba00837
...
@@ -50,7 +50,7 @@ ENV PATH="/usr/share/grafana/bin:$PATH" \
...
@@ -50,7 +50,7 @@ ENV PATH="/usr/share/grafana/bin:$PATH" \
WORKDIR
$GF_PATHS_HOME
WORKDIR
$GF_PATHS_HOME
RUN
apk add
--no-cache
ca-certificates bash tzdata
&&
\
RUN
apk add
--no-cache
ca-certificates bash tzdata
&&
\
apk add
--no-cache
--upgrade
openssl musl-utils
apk add
--no-cache
openssl musl-utils
COPY
conf ./conf
COPY
conf ./conf
...
...
Dockerfile.ubuntu
View file @
2ba00837
...
@@ -50,7 +50,7 @@ WORKDIR $GF_PATHS_HOME
...
@@ -50,7 +50,7 @@ WORKDIR $GF_PATHS_HOME
COPY conf conf
COPY conf conf
# curl should be part of the image
# curl should be part of the image
RUN apt-get update && apt-get
upgrade -y && apt-get
install -y ca-certificates curl
RUN apt-get update && apt-get install -y ca-certificates curl
RUN mkdir -p "$GF_PATHS_HOME/.aws" && \
RUN mkdir -p "$GF_PATHS_HOME/.aws" && \
addgroup --system --gid $GF_GID grafana && \
addgroup --system --gid $GF_GID grafana && \
...
...
packaging/docker/Dockerfile
View file @
2ba00837
...
@@ -24,11 +24,11 @@ ENV PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bi
...
@@ -24,11 +24,11 @@ ENV PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bi
WORKDIR
$GF_PATHS_HOME
WORKDIR
$GF_PATHS_HOME
RUN
apk add
--no-cache
ca-certificates bash tzdata
&&
\
RUN
apk add
--no-cache
ca-certificates bash tzdata
&&
\
apk add
--no-cache
--upgrade
openssl musl-utils
apk add
--no-cache
openssl musl-utils
# Oracle Support for x86_64 only
# Oracle Support for x86_64 only
RUN if
[
`
arch
`
=
"x86_64"
]
;
then
\
RUN if
[
`
arch
`
=
"x86_64"
]
;
then
\
apk add
--no-cache
--upgrade
libaio libnsl
&&
\
apk add
--no-cache
libaio libnsl
&&
\
ln
-s
/usr/lib/libnsl.so.2 /usr/lib/libnsl.so.1
&&
\
ln
-s
/usr/lib/libnsl.so.2 /usr/lib/libnsl.so.1
&&
\
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk
\
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk
\
-O
/tmp/glibc-2.30-r0.apk
&&
\
-O
/tmp/glibc-2.30-r0.apk
&&
\
...
...
packaging/docker/ubuntu.Dockerfile
View file @
2ba00837
...
@@ -28,7 +28,7 @@ WORKDIR $GF_PATHS_HOME
...
@@ -28,7 +28,7 @@ WORKDIR $GF_PATHS_HOME
# Install dependencies
# Install dependencies
# We need curl in the image
# We need curl in the image
RUN apt-get update && apt-get
upgrade -y && apt-get
install -y ca-certificates curl tzdata && \
RUN apt-get update && apt-get install -y ca-certificates curl tzdata && \
apt-get autoremove -y && rm -rf /var/lib/apt/lists/*;
apt-get autoremove -y && rm -rf /var/lib/apt/lists/*;
COPY --from=grafana-builder /tmp/grafana "$GF_PATHS_HOME"
COPY --from=grafana-builder /tmp/grafana "$GF_PATHS_HOME"
...
...
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