mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
feat: rewrite programming-challenges CLI (#3)
This commit is contained in:
4
templates/docker/c/Dockerfile
Normal file
4
templates/docker/c/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM gcc:11.1.0
|
||||
COPY ./ ./
|
||||
RUN gcc solution.c --output=solution
|
||||
CMD ["./solution"]
|
4
templates/docker/cpp/Dockerfile
Normal file
4
templates/docker/cpp/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM gcc:11.1.0
|
||||
COPY ./ ./
|
||||
RUN g++ solution.cpp --output=solution
|
||||
CMD ["./solution"]
|
3
templates/docker/dart/Dockerfile
Normal file
3
templates/docker/dart/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM dart:2.13.1
|
||||
COPY ./ ./
|
||||
CMD ["dart", "run", "solution.dart"]
|
3
templates/docker/javascript/Dockerfile
Normal file
3
templates/docker/javascript/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM node:16.3.0
|
||||
COPY ./ ./
|
||||
CMD ["node", "solution.js"]
|
3
templates/docker/python/Dockerfile
Normal file
3
templates/docker/python/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM python:3.9.5
|
||||
COPY ./ ./
|
||||
CMD ["python", "solution.py"]
|
4
templates/docker/rust/Dockerfile
Normal file
4
templates/docker/rust/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM rust:1.52.1
|
||||
COPY ./ ./
|
||||
RUN rustc solution.rs
|
||||
CMD ["./solution"]
|
4
templates/docker/typescript/Dockerfile
Normal file
4
templates/docker/typescript/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM node:16.3.0
|
||||
RUN npm install --global ts-node typescript @types/node
|
||||
COPY ./ ./
|
||||
CMD ["ts-node", "solution.ts"]
|
Reference in New Issue
Block a user