forked from meshery/meshery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request meshery#10624 from deepak4566/alpine-upgrade
upgrade alpine from 3.15.3 to 3.18.5 to solve vulnerabilities
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ RUN git config --global user.email "[email protected]" | |
RUN git config --global user.name "meshery" | ||
RUN git clone --depth=1 https://github.com/layer5io/wrk2 && cd wrk2 && make | ||
|
||
FROM alpine:3.15.3 as seed_content | ||
FROM alpine:3.18.5 as seed_content | ||
RUN apk add --no-cache curl | ||
WORKDIR / | ||
RUN lines=$(curl -s https://api.github.com/repos/layer5io/wasm-filters/releases/latest | grep "browser_download_url.*wasm" | cut -d : -f 2,3 | sed 's/"//g') \ | ||
|
@@ -62,9 +62,9 @@ RUN mkdir -p /seed_content/applications && cd /seed_content/applications \ | |
#RUN cd nighthawk-go/apinighthawk/bin && chmod +x ./nighthawk_client | ||
|
||
|
||
FROM alpine:3.15.3 | ||
FROM alpine:3.18.5 | ||
ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc | ||
ENV GLIBC_VERSION=2.34-r0 | ||
ENV GLIBC_VERSION=2.35-r1 | ||
# To solve: ./meshery: /usr/glibc-compat/lib/libc.so.6: version `GLIBC_2.34' not found (required by ./meshery) | ||
RUN set -ex && \ | ||
apk --update add libstdc++ curl ca-certificates && \ | ||
|