1
0
镜像自地址 https://github.com/devcm-repo/container-images.git 已同步 2026-06-06 02:41:07 +00:00

feat(images): submit images

这个提交包含在:
2024-06-24 18:08:31 +08:00
未验证
当前提交 c281999c49
修改 6 个文件,包含 80 行新增0 行删除
+23
查看文件
@@ -0,0 +1,23 @@
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }} # 配置dockerhub的认证,在Github项目主页 【Settings】 -> 【Secrets】 添加对应变量
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3 # 抽取项目信息,主要是镜像的tag
with:
images: kkkk24/chatgpt_academic
- name: Build and push Docker image
uses: docker/build-push-action@v4 # docker build & push
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+5
查看文件
@@ -0,0 +1,5 @@
# crowdsecurity lua-bouncer-plugin 修复bash报错问题
FROM crowdsecurity/lua-bouncer-plugin:v1.0.2
RUN apk add --no-cache bash
+7
查看文件
@@ -0,0 +1,7 @@
# Tailscale Drep基础镜像
FROM golang:alpine
ARG VERSION=main
RUN apk add git && go install tailscale.com/cmd/derper@${VERSION}
ENTRYPOINT [ "/go/bin/derper" ]
+9
查看文件
@@ -0,0 +1,9 @@
# node 业务基础镜像
FROM node:18.16.1-slim
RUN echo "Asia/Shanghai" > /etc/timezone
RUN echo "ZONE=Asia/Shanghai" >> /etc/timezone && rm -f /etc/localtime && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN apt-get update && apt-get install -y curl
RUN npm i pnpm -g
+21
查看文件
@@ -0,0 +1,21 @@
# node 爬虫镜像
FROM node:18.16.1-slim
RUN echo "Asia/Shanghai" > /etc/timezone
RUN echo "ZONE=Asia/Shanghai" >> /etc/timezone && rm -f /etc/localtime && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# 更新apt源
COPY sources.list /etc/apt/sources.list
RUN apt-get update
# 补全chrome依赖
RUN apt install ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils -y
RUN apt install curl -y
# 更新npm源
RUN npm config set registry https://registry.npmmirror.com
# 安装pnpm
RUN npm i pnpm -g
+15
查看文件
@@ -0,0 +1,15 @@
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.aliyun.com/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.aliyun.com/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.aliyun.com/debian-security bookworm-security main contrib non-free non-free-firmware
# deb-src https://mirrors.aliyun.com/debian-security bookworm-security main contrib non-free non-free-firmware
# deb https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
# # deb-src https://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware