
- 添加基础目录结构和文件 - 配置 Spring Boot 应用 - 添加数据库配置和 MyBatis 映射文件 - 实现简单的用户服务接口和仓库接口 - 添加日志配置和示例日志 - 配置 Docker 和 Docker Compose 文件 - 添加 Jackson 配置和工具类 - 实现简单的 API 测试用例
6 lines
281 B
Bash
6 lines
281 B
Bash
|
|
# 普通镜像构建,随系统版本构建 amd/arm
|
|
docker build -t system/xfg-ddd-app:1.0-SNAPSHOT -f ./Dockerfile .
|
|
|
|
# 兼容 amd、arm 构建镜像
|
|
# docker buildx build --load --platform liunx/amd64,linux/arm64 -t xiaofuge/xfg-frame-archetype-app:1.0 -f ./Dockerfile . --push |