mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-12-11 00:21:24 +01:00
feat: rewrite programming-challenges CLI (#3)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
FROM gcc:11.1.0
|
||||
COPY ./ ./
|
||||
RUN gcc solution.c --output=solution
|
||||
CMD ["./solution"]
|
||||
@@ -0,0 +1,4 @@
|
||||
FROM gcc:11.1.0
|
||||
COPY ./ ./
|
||||
RUN g++ solution.cpp --output=solution
|
||||
CMD ["./solution"]
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM dart:2.13.1
|
||||
COPY ./ ./
|
||||
CMD ["dart", "run", "solution.dart"]
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM node:16.3.0
|
||||
COPY ./ ./
|
||||
CMD ["node", "solution.js"]
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM python:3.9.5
|
||||
COPY ./ ./
|
||||
CMD ["python", "solution.py"]
|
||||
@@ -0,0 +1,4 @@
|
||||
FROM rust:1.52.1
|
||||
COPY ./ ./
|
||||
RUN rustc solution.rs
|
||||
CMD ["./solution"]
|
||||
@@ -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