From dd70b15a31ac385568f4bb1b8aac8975ebae585d Mon Sep 17 00:00:00 2001 From: JasonHomeWorkstationUbuntu Date: Mon, 7 Dec 2020 16:11:54 +1100 Subject: [PATCH] Added Dockerfile for all languages --- c#/Dockerfile | 1 + docker-compose.yaml | 8 ++++---- golang/Dockerfile | 1 + nodejs/Dockerfile | 1 + python/Dockerfile | 1 + 5 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 c#/Dockerfile create mode 100644 golang/Dockerfile create mode 100644 nodejs/Dockerfile create mode 100644 python/Dockerfile diff --git a/c#/Dockerfile b/c#/Dockerfile new file mode 100644 index 0000000..8ecd811 --- /dev/null +++ b/c#/Dockerfile @@ -0,0 +1 @@ +FROM mcr.microsoft.com/dotnet/sdk:3.1 \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index dd0c296..cb17b60 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,20 +2,20 @@ version: "3" services: csharp: container_name: csharp # image name - image: /csharp_sdk:1.0.0 + image: cruxlight/csharp_sdk:1.0.0 build: context: ./c# golang: container_name: golang - image: /golang_sdk:1.0.0 + image: cruxlight/golang_sdk:1.0.0 build: ./golang nodejs: container_name: nodejs - image: /nodejs:1.0.0 + image: cruxlight/nodejs:1.0.0 build: ./nodejs python: container_name: python - image: /python:1.0.0 + image: cruxlight/python:1.0.0 build: ./python first-public-dockerhub-image: container_name: first-public-dockerhub-image diff --git a/golang/Dockerfile b/golang/Dockerfile new file mode 100644 index 0000000..9bd917b --- /dev/null +++ b/golang/Dockerfile @@ -0,0 +1 @@ +FROM golang:1.12.5-alpine3.9 as builder \ No newline at end of file diff --git a/nodejs/Dockerfile b/nodejs/Dockerfile new file mode 100644 index 0000000..56d9a22 --- /dev/null +++ b/nodejs/Dockerfile @@ -0,0 +1 @@ +FROM node:12.4.0-alpine \ No newline at end of file diff --git a/python/Dockerfile b/python/Dockerfile new file mode 100644 index 0000000..caac651 --- /dev/null +++ b/python/Dockerfile @@ -0,0 +1 @@ +FROM python:3.7.3-alpine3.9 \ No newline at end of file