images: upgrade to Alpine 3.18 (#9997)
Alpine Linux 3.18 was released https://alpinelinux.org/posts/Alpine-3.18.0-released.html Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This commit is contained in:
parent
4cf439118f
commit
c2e1f34cbe
6 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
||||||
"spec": {
|
"spec": {
|
||||||
"initContainers": [{
|
"initContainers": [{
|
||||||
"name": "sysctl",
|
"name": "sysctl",
|
||||||
"image": "alpine:3.17.0",
|
"image": "alpine:3.18",
|
||||||
"securityContext": {
|
"securityContext": {
|
||||||
"privileged": true
|
"privileged": true
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM alpine:3.17.2
|
FROM alpine:3.18.0
|
||||||
|
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
FROM alpine:3.17.2 as builder
|
FROM alpine:3.18.0 as builder
|
||||||
|
|
||||||
COPY . /
|
COPY . /
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ RUN apk update \
|
||||||
&& /build.sh
|
&& /build.sh
|
||||||
|
|
||||||
# Use a multi-stage build
|
# Use a multi-stage build
|
||||||
FROM alpine:3.17.2
|
FROM alpine:3.18.0
|
||||||
|
|
||||||
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
|
ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
FROM alpine:3.17.2 as base
|
FROM alpine:3.18.0 as base
|
||||||
|
|
||||||
RUN mkdir -p /opt/third_party/install
|
RUN mkdir -p /opt/third_party/install
|
||||||
COPY . /opt/third_party/
|
COPY . /opt/third_party/
|
||||||
|
@ -39,7 +39,7 @@ COPY --from=grpc /opt/third_party/install/ /usr
|
||||||
COPY --from=otel-cpp /opt/third_party/install/ /usr
|
COPY --from=otel-cpp /opt/third_party/install/ /usr
|
||||||
RUN bash /opt/third_party/build.sh -n
|
RUN bash /opt/third_party/build.sh -n
|
||||||
|
|
||||||
FROM alpine:3.17.2 as final
|
FROM alpine:3.18.0 as final
|
||||||
COPY --from=base /opt/third_party/init_module.sh /usr/local/bin/init_module.sh
|
COPY --from=base /opt/third_party/init_module.sh /usr/local/bin/init_module.sh
|
||||||
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules
|
COPY --from=nginx /etc/nginx/modules /etc/nginx/modules
|
||||||
COPY --from=nginx /opt/third_party/install/lib /etc/nginx/modules
|
COPY --from=nginx /opt/third_party/install/lib /etc/nginx/modules
|
||||||
|
|
|
@ -23,7 +23,7 @@ RUN apk update \
|
||||||
&& apk upgrade \
|
&& apk upgrade \
|
||||||
&& /chroot.sh
|
&& /chroot.sh
|
||||||
|
|
||||||
FROM alpine:3.17.2
|
FROM alpine:3.18.0
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
ARG E2E_BASE_IMAGE
|
ARG E2E_BASE_IMAGE
|
||||||
FROM ${E2E_BASE_IMAGE} AS BASE
|
FROM ${E2E_BASE_IMAGE} AS BASE
|
||||||
|
|
||||||
FROM alpine:3.17.2
|
FROM alpine:3.18.0
|
||||||
|
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade && apk add -U --no-cache \
|
&& apk upgrade && apk add -U --no-cache \
|
||||||
|
|
Loading…
Reference in a new issue