multi-lang-dev
Go to file
fly6516 166938d9f1
Some checks failed
build-docker-images-for-latest-release / build-and-push (push) Failing after 11s
docs(README): 更新项目文档以反映新的定位和使用方式
- 修改项目名称为 "Multi-Language Compile Environment"
- 移除多架构构建相关内容
- 更新构建和运行步骤说明
- 调整使用方法描述,强调容器内的开发和编译功能
2025-03-05 14:12:29 +08:00
.gitea/workflows ci:enabled main.yaml 2025-01-01 08:21:28 +08:00
Dockerfile docs:add compile guide 2025-01-01 08:58:45 +08:00
LICENSE Initial commit 2024-12-18 03:24:16 +00:00
README.md docs(README): 更新项目文档以反映新的定位和使用方式 2025-03-05 14:12:29 +08:00

Multi-Language Compile Environment / 多语言编译环境

English Version | 中文版本


English Version

Overview

This project provides a Docker-based multi-language compile environment. It is designed to support development in various programming languages such as C/C++, Java, Python, Node.js, Go, Rust, Ruby, PHP, Haskell, Perl, Lua, and .NET.

Prerequisites

  • Docker (with Buildx support if needed)
  • Internet access to download dependencies

Build Instructions

  1. Build the Docker image:
    Execute the following command in the project directory:
    docker build -t multi-lang .
    
  2. Run the container:
    Start a container with:
    docker run -it --rm multi-lang
    

Usage

Once inside the container, you can use the pre-installed compilers and tools to compile and run your projects. The working directory is set to /workspace.


中文版本


中文版本

概述

该项目构建了一个基于 Docker 的多语言编译环境,支持 C/C++、Java、Python、Node.js、Go、Rust、Ruby、PHP、Haskell、Perl、Lua 以及 .NET 等多种语言的开发和编译。

前提条件

  • 安装 Docker如果需要可支持 Buildx
  • 具备下载依赖的网络环境

构建步骤

  1. 构建 Docker 镜像:
    在项目目录下执行:
    docker build -t multi-lang .
    
  2. 运行容器:
    使用以下命令启动容器:
    docker run -it --rm multi-lang
    

使用方法

进入容器后,所有的编译器与工具已经预先安装好,工作目录为 /workspace,可以直接在此目录下进行项目的开发和编译。


English Version