This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 244
Fix Arduino CLI: Upload
command
#1708
Open
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Use the official Node.js 16 base image | ||
FROM node:16-alpine3.15 | ||
|
||
# needs to be alpine 3.15 to get python 2.7 and python 3.10 — 3.11 does not work with node-gyp | ||
RUN apk add curl python2 python3 make build-base eudev-dev | ||
|
||
RUN mkdir -p /app/assets && chmod 777 /app && chmod 777 /app/assets | ||
|
||
WORKDIR /app | ||
|
||
# Copy the application code to the working directory | ||
COPY ./src /app/src | ||
COPY ./package*.json /app/ | ||
COPY ./build /app/build | ||
|
||
# Install dependencies | ||
RUN npm install | ||
|
||
COPY ./images /app/images | ||
COPY ./misc /app/misc | ||
COPY ./snippets /app/snippets | ||
COPY ./syntaxes /app/syntaxes | ||
COPY ./typings /app/typings | ||
COPY gulpfile.js /app/ | ||
COPY tsconfig.json /app/ | ||
COPY webpack.config.js /app/ | ||
COPY cgmanifest.json /app/ | ||
COPY .vscodeignore /app/ | ||
COPY LICENSE.txt /app/ | ||
|
||
RUN mkdir -p /app/out | ||
|
||
RUN npm run package | ||
|
||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,701 changes: 2,882 additions & 819 deletions
package-lock.json
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.