Skip to content

Commit

Permalink
Fix build dependencies container (#545)
Browse files Browse the repository at this point in the history
* fix script path error

* update
  • Loading branch information
jingjingxyk authored Jan 8, 2024
1 parent 9c06d19 commit 9a52abe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ RUN echo "alias php='php -d curl.cainfo=\"\${CERT_FILE}\" -d openssl.cafile=\"\$

ENV COMPOSER_ALLOW_SUPERUSER=1

RUN test -f /etc/apk/repositories.save || cp -f /etc/apk/repositories.save /etc/apk/repositories
RUN test -f /etc/apk/repositories.save && cp -f /etc/apk/repositories.save /etc/apk/repositories

RUN rm -rf /var/cache/apk/* /tmp/* /var/tmp/*

Expand Down
5 changes: 3 additions & 2 deletions sapi/multistage-build-dependencies-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ bash sapi/multistage-build-dependencies-container/all-dependencies-build-contain

```bash

bash sapi/multistage-build-dependencies-container/all-dependencies-run-container.sh
bash sapi/multistage-build-dependencies-container/all-dependencies-run-container-test.sh

# 新开终端进入容器
docker exec -it swoole-cli-alpine-dev sh


bash build-release-example.sh --mirror china
# 执行构建测试
sh build-release-example.sh --mirror china

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARCH=$(uname -m)
TIME=$(date -u '+%Y%m%dT%H%M%SZ')

VERSION="1.0.0"
TAG="all-dependencies-alpine-3.17-php8-v${VERSION}-${ARCH}-${TIME}"
TAG="all-dependencies-alpine-3.18-php8-v${VERSION}-${ARCH}-${TIME}"
IMAGE="docker.io/jingjingxyk/build-swoole-cli:${TAG}"
IMAGE="docker.io/phpswoole/swoole-cli-builder:${TAG}"

Expand Down

0 comments on commit 9a52abe

Please sign in to comment.