Skip to content

Commit d4f9f59

Browse files
committed
rejig to provide legacy support
1 parent f2bc760 commit d4f9f59

File tree

14 files changed

+448
-20
lines changed

14 files changed

+448
-20
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
base-all
2+
Arduino
3+
node_modules
4+
.env

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules
22
.env
3-
data/arduino/staging
3+
base-all/data/arduino/staging
44
Arduino

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY package*.json /home/duino/
55
RUN chown duino:duino /home/duino/package*.json
66
USER duino
77

8-
RUN npm i
8+
RUN npm ci
99

1010
USER root
1111
COPY src /home/duino/src
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
FROM node:10-alpine
1+
FROM node:10-buster
22

33
USER root
4-
RUN addgroup -S duino && adduser -S duino -G duino
4+
RUN useradd duino
55

66
COPY setup /home/duino/setup
77
COPY data /home/duino/data
88
# COPY Arduino /home/duino/Arduino
99

1010
RUN chown duino:duino /home/duino -R
11-
RUN apk update && apk add build-base
11+
RUN apt-get update && apt-get install build-essential
1212

1313
WORKDIR /home/duino
1414
USER duino
1515

16-
RUN wget https://github.com/arduino/arduino-cli/releases/download/0.7.2/arduino-cli_0.7.2_Linux_64bit.tar.gz -O - | tar -xz
16+
RUN wget https://github.com/arduino/arduino-cli/releases/download/0.9.0/arduino-cli_0.9.0_Linux_64bit.tar.gz -O - | tar -xz
1717

1818
RUN ls
1919

0 commit comments

Comments
 (0)