File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:20.04
2
+
3
+ LABEL maintainer="guerra@develer.com"
4
+ LABEL version="0.1"
5
+ LABEL description="This is custom Docker Image for testing arduino-connector with docker and mosquitto."
6
+
7
+ ARG DEBIAN_FRONTEND=noninteractive
8
+
9
+ RUN apt update
10
+ RUN apt install -y \
11
+ curl \
12
+ gcc \
13
+ mosquitto \
14
+ docker.io
15
+
16
+ RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz
17
+ RUN tar xvf go1.15.2.linux-amd64.tar.gz
18
+ RUN mv go /usr/local
19
+
20
+ ENV PATH=$PATH:/usr/local/go/bin
21
+
22
+ COPY scripts .
23
+ COPY config/daemon.json /etc/docker/daemon.json
24
+
25
+ WORKDIR /home
26
+
27
+ ENTRYPOINT "/start.sh"
Original file line number Diff line number Diff line change
1
+ {
2
+ "storage-driver" : " vfs"
3
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ rm /var/run/docker.pid
4
+ dockerd &
5
+ sleep 2
6
+ echo " "
7
+ exec bash
You can’t perform that action at this time.
0 commit comments