From 4c4602dd1e3d1bfe89fc459eb49cb7fa7e0f7709 Mon Sep 17 00:00:00 2001 From: omg-xtao <100690902+omg-xtao@users.noreply.github.com> Date: Sun, 2 Jun 2024 03:54:06 +0000 Subject: [PATCH] fix: alpine version --- .github/workflows/multiarch.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/multiarch.yml b/.github/workflows/multiarch.yml index a3eded4..58c1d7e 100644 --- a/.github/workflows/multiarch.yml +++ b/.github/workflows/multiarch.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest env: IMAGE_TAG: ${{ secrets.DOCKER_USERNAME }}/telegram-bot-api - ALPINE_VERSION: 3.19 + ALPINE_VERSION: '3.20' strategy: matrix: arch: diff --git a/Dockerfile b/Dockerfile index 2f5b7a9..904ad5f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM alpine:${ALPINE_VERSION} as build ENV CXXFLAGS="" WORKDIR /usr/src/telegram-bot-api -RUN apk add --no-cache --update alpine-sdk linux-headers git zlib-dev openssl-dev gperf cmake +RUN apk add --no-cache --update alpine-sdk linux-headers git zlib-dev openssl-dev gperf cmake php COPY telegram-bot-api /usr/src/telegram-bot-api ARG nproc=1 RUN mkdir -p build \