上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页
摘要: ### 可以application 处理 也可以在nginx 上处理 #### nginx ``` server { listen 80; server_name localhost; location / { add_header Access-Control-Allow-Origin 'http 阅读全文
posted @ 2023-06-08 09:01 vx_guanchaoguo0 阅读(24) 评论(0) 推荐(0)
摘要: #### jinkens shell ``` make all IMG_NS=hygov ``` ### 项目makefile ``` IMG_NS?=MUST_SPECIFIED IMG_TAG?=latest SERVICE=kettle IMG=data-exchange-platform-k 阅读全文
posted @ 2023-06-07 15:32 vx_guanchaoguo0 阅读(13) 评论(0) 推荐(0)
摘要: ### 由于gitlab 限制 导致413 * 文件太大了分批次提交 * 撤销太大的提交 ``` git reset --soft HEAD^ ``` 阅读全文
posted @ 2023-06-07 09:22 vx_guanchaoguo0 阅读(42) 评论(0) 推荐(0)
摘要: #### 不是使用 dependencyManagement ``` org.springframework.boot spring-boot-starter-parent 2.1.6.RELEASE ``` ### 引入 systemPath ``` org.pentaho pentaho-enc 阅读全文
posted @ 2023-06-06 14:47 vx_guanchaoguo0 阅读(486) 评论(0) 推荐(0)
摘要: #### 一般网上说进入通过screen * screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty * 实际上没有 /tty ### 通过镜像进入 ``` /opt/homebrew/bin/docker run -it --pri 阅读全文
posted @ 2023-06-06 09:57 vx_guanchaoguo0 阅读(85) 评论(0) 推荐(0)
摘要: ### 利用 QEMU 启动 lima 虚拟机 在通过colima 包装成docker * 配置文件 ~/.lima/colima * 默认目录 ~/ * 9p 文件挂载会存在权限问题需要处理 * 默认还在家目录 * mac -> lima -> docker 三层转发 * 在mac 上是 staf 阅读全文
posted @ 2023-06-06 09:01 vx_guanchaoguo0 阅读(962) 评论(0) 推荐(0)
摘要: ``` /path/to/local/repo --> true --> false --> com.your.plugins --> optional true http proxyuser proxypass proxy.host.net 80 local.net|some.host.com - 阅读全文
posted @ 2023-06-05 15:32 vx_guanchaoguo0 阅读(16) 评论(0) 推荐(0)
摘要: ##### 由于 gitlab 限制了上传大小 * 只能使用 dockerfile 构建jar * 在docker build 中打包 #### 直接构建 * 容器内部存在 java 源码 容易泄露 * 使用多阶段构建 构建出jar会后丢弃基础镜像 #### mvnw 使用mvn * 固定版本 * 阅读全文
posted @ 2023-06-05 14:24 vx_guanchaoguo0 阅读(48) 评论(0) 推荐(0)
摘要: #### build.gradle ``` apply(plugin: 'java') apply(plugin: 'idea') apply(plugin: 'maven') ``` #### 开始转换 * grable-> others -> install ### 查看文件 * build/p 阅读全文
posted @ 2023-06-05 13:38 vx_guanchaoguo0 阅读(201) 评论(0) 推荐(0)
摘要: ### 安装 ``` distributionBase=GRADLE_USER_HOME ``` ### 替换 apline 源 ``` set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repo 阅读全文
posted @ 2023-06-05 11:25 vx_guanchaoguo0 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 68 下一页