vault backup: 2026-03-25 09:45:22
This commit is contained in:
50
.obsidian/workspace.json
vendored
50
.obsidian/workspace.json
vendored
@@ -4,21 +4,21 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "3c4af6ca31056d34",
|
"id": "e0dcf46046651d22",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "2db2a0f13d4fcf3a",
|
"id": "5eeda99f64f8c37a",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "公司/日报/2026-03-24.md",
|
"file": "美洽AI/DevOps/基础镜像.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "2026-03-24"
|
"title": "基础镜像"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -178,21 +178,25 @@
|
|||||||
"obsidian-git:Open Git source control": false
|
"obsidian-git:Open Git source control": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "2db2a0f13d4fcf3a",
|
"active": "b191e8e6c0596055",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"公司/日报/2026-03-23.md",
|
"公司/日报/2026年/3月/2026-03-02.md",
|
||||||
"公司/日报/2026-03-24.md",
|
"美洽AI/DevOps/基础镜像.md",
|
||||||
"公司/日报/2026-03-20.md",
|
"美洽AI/DevOps",
|
||||||
"公司/日报/2026-03-19.md",
|
"公司/日报/2026年/3月",
|
||||||
"公司/日报/2026-03-18.md",
|
"公司/日报/2026年/3月/2026-03-24.md",
|
||||||
"公司/日报/2026-03-17.md",
|
"公司/日报/2026年/3月/2026-03-23.md",
|
||||||
"公司/日报/2026-03-16.md",
|
"公司/日报/2026年/3月/2026-03-20.md",
|
||||||
"公司/日报/2026-03-13.md",
|
"公司/日报/2026年/3月/2026-03-19.md",
|
||||||
"公司/日报/2026-03-12.md",
|
"公司/日报/2026年/3月/2026-03-18.md",
|
||||||
"公司/日报/2026-03-11.md",
|
"公司/日报/2026年/3月/2026-03-17.md",
|
||||||
"公司/日报/2026-03-10.md",
|
"公司/日报/2026年/3月/2026-03-16.md",
|
||||||
"公司/日报/2026-03-09.md",
|
"公司/日报/2026年/3月/2026-03-13.md",
|
||||||
"公司/日报/2026-03-06.md",
|
"公司/日报/2026年/3月/2026-03-12.md",
|
||||||
|
"公司/日报/2026年/3月/2026-03-11.md",
|
||||||
|
"公司/日报/2026年/3月/2026-03-10.md",
|
||||||
|
"公司/日报/2026年/3月/2026-03-09.md",
|
||||||
|
"公司/日报/2026年/3月/2026-03-06.md",
|
||||||
"公司/日报/2026年/2月/2026-02-04.md",
|
"公司/日报/2026年/2月/2026-02-04.md",
|
||||||
"公司/日报/2026年",
|
"公司/日报/2026年",
|
||||||
"公司/日报/2026年/1月/2026-01-04.md",
|
"公司/日报/2026年/1月/2026-01-04.md",
|
||||||
@@ -201,21 +205,17 @@
|
|||||||
"公司/日报/2026年/1月",
|
"公司/日报/2026年/1月",
|
||||||
"公司/日报/2025年",
|
"公司/日报/2025年",
|
||||||
"公司/日报/2025年/12月",
|
"公司/日报/2025年/12月",
|
||||||
"公司/日报/2026-03-05.md",
|
"公司/日报/2026年/3月/2026-03-05.md",
|
||||||
"公司/日报/2026-03-04.md",
|
"公司/日报/2026年/3月/2026-03-04.md",
|
||||||
"公司/日报/2026-03-03.md",
|
"公司/日报/2026年/3月/2026-03-03.md",
|
||||||
"公司/日报/2026-03-02.md",
|
|
||||||
"公司/日报/2026年/2月/2026-02-28.md",
|
"公司/日报/2026年/2月/2026-02-28.md",
|
||||||
"公司/日报/2026年/2月/2026-02-27.md",
|
"公司/日报/2026年/2月/2026-02-27.md",
|
||||||
"公司/日报/2026年/2月/2026-02-26.md",
|
"公司/日报/2026年/2月/2026-02-26.md",
|
||||||
"公司/日报/2026年/2月/2026-02-12.md",
|
"公司/日报/2026年/2月/2026-02-12.md",
|
||||||
"公司/日报/2026年/2月/2026-02-11.md",
|
"公司/日报/2026年/2月/2026-02-11.md",
|
||||||
"Untitled.base",
|
"Untitled.base",
|
||||||
"公司/日报/2026年/2月/2026-02-10.md",
|
|
||||||
"公司/绩效",
|
"公司/绩效",
|
||||||
"公司/职级",
|
"公司/职级",
|
||||||
"Untitled 1.base",
|
|
||||||
"美洽AI/大客",
|
|
||||||
"src/定制模板(千人千面).png",
|
"src/定制模板(千人千面).png",
|
||||||
"src/Pasted image 20250514170546.png",
|
"src/Pasted image 20250514170546.png",
|
||||||
"src/试用期考核.jpeg"
|
"src/试用期考核.jpeg"
|
||||||
|
|||||||
91
美洽AI/DevOps/基础镜像.md
Normal file
91
美洽AI/DevOps/基础镜像.md
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
### debian:meiqia-stable
|
||||||
|
```Dockerfile
|
||||||
|
FROM debian:13
|
||||||
|
|
||||||
|
COPY source.list /etc/apt/sources.list
|
||||||
|
COPY debian.sources /etc/apt/sources.list.d/debian.sources
|
||||||
|
|
||||||
|
RUN apt-get update && apt upgrade -y && apt-get install -y \
|
||||||
|
curl \
|
||||||
|
net-tools \
|
||||||
|
tcpdump \
|
||||||
|
vim \
|
||||||
|
dnsutils \
|
||||||
|
procps \
|
||||||
|
iputils-ping \
|
||||||
|
&& apt-get autoremove \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
CMD ["/bin/bash"]
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build --platform linux/amd64 -t harbor.meiqia.com/devops/debian:meiqia-stable -f Dockerfile.bak .
|
||||||
|
```
|
||||||
|
|
||||||
|
### golang:1.26.1
|
||||||
|
```Dockerfile
|
||||||
|
FROM golang:1.26.1
|
||||||
|
|
||||||
|
COPY source.list /etc/apt/sources.list
|
||||||
|
COPY debian.sources /etc/apt/sources.list.d/debian.sources
|
||||||
|
RUN apt-get update && apt-get install -y ca-certificates git-core ssh
|
||||||
|
|
||||||
|
RUN go env -w GOPRIVATE=gitlab.meiqia.com && go env -w GOPROXY=https://goproxy.cn,direct && go env -w GONOPROXY=gitlab.meiqia.com
|
||||||
|
|
||||||
|
ADD .netrc /root/.netrc
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build --platform linux/amd64 -t harbor.meiqia.com/devops/golang:1.26.1 -f Dockerfile.golang .
|
||||||
|
```
|
||||||
|
|
||||||
|
### source.list
|
||||||
|
```
|
||||||
|
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware
|
||||||
|
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware
|
||||||
|
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware
|
||||||
|
deb http://mirrors.tuna.tsinghua.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware
|
||||||
|
```
|
||||||
|
|
||||||
|
### debian.sources
|
||||||
|
```
|
||||||
|
Types: deb
|
||||||
|
URIs: http://mirrors.tuna.tsinghua.edu.cn/debian
|
||||||
|
Suites: trixie trixie-updates trixie-backports
|
||||||
|
Components: main contrib non-free non-free-firmware
|
||||||
|
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||||
|
# Types: deb-src
|
||||||
|
# URIs: http://mirrors.tuna.tsinghua.edu.cn/debian
|
||||||
|
# Suites: trixie trixie-updates trixie-backports
|
||||||
|
# Components: main contrib non-free non-free-firmware
|
||||||
|
# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
|
||||||
|
Types: deb
|
||||||
|
URIs: http://mirrors.tuna.tsinghua.edu.cn/debian-security
|
||||||
|
Suites: trixie-security
|
||||||
|
Components: main contrib non-free non-free-firmware
|
||||||
|
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
# Types: deb-src
|
||||||
|
# URIs: http://mirrors.tuna.tsinghua.edu.cn/debian-security
|
||||||
|
# Suites: trixie-security
|
||||||
|
# Components: main contrib non-free non-free-firmware
|
||||||
|
# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
# Types: deb
|
||||||
|
# URIs: http://security.debian.org/debian-security
|
||||||
|
# Suites: trixie-security
|
||||||
|
# Components: main contrib non-free non-free-firmware
|
||||||
|
# Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
|
||||||
|
# # Types: deb-src
|
||||||
|
# # URIs: http://security.debian.org/debian-security
|
||||||
|
# # Suites: trixie-security
|
||||||
|
# # Components: main contrib non-free non-free-firmware
|
||||||
|
# # Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user