This file contains hidden or 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
| FROM ubuntu:22.04 | |
| RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list | |
| RUN sed -i "s@http://.*security.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list | |
| RUN apt update && apt upgrade -y | |
| RUN apt install -y \ | |
| tar unzip wget curl libcurl4 expat openssl make gcc g++ gettext \ | |
| nfs-common libtool sqlite3 zlib1g-dev libssl-dev cmake ninja-build\ | |
| libcurl4-openssl-dev sudo autoconf build-essential rapidjson-dev \ |
This file contains hidden or 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
| # 配置文件 | |
| # 仓颉语言包管理器配置 | |
| # ===== 包基本信息 ===== | |
| [package] | |
| name = "my-cangjie-project" | |
| version = "0.1.0" | |
| cjc-version = "1.0.0" | |
| build = "xxx.cj" # 支持单文件/目录。为多文件时视该文件夹为一个包的根目录 | |
| links = {"xxx"} # 推荐使用,须在 build script 中指定 search-dir |