mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-21 23:59:33 +08:00
718 B
718 B
Global Config
- prefix =
TEST_
- output =
:terminal
- translate =
:escape
Java
Maven Config
- name =
maven_settings
<mirror>
<id>test</id>
<name>Test Mirror</name>
<url>https://example.com</url>
</mirror>
Gradle Config
repositories {
maven { url 'https://example.com' }
}
Python
- prefix =
PY_
pip config
[global]
index-url = https://example.com/simple
conda config
- language =
yaml
channels:
- https://example.com/conda
Docker
Dockerfile
FROM ubuntu:20.04
RUN echo "Hello World"
Multi-stage Build
FROM node:16 AS builder
WORKDIR /app
COPY . .
RUN npm install