mirror of
https://github.com/balena-io/etcher.git
synced 2025-08-01 23:47:43 +00:00
etcher pro dockerfile wip
This commit is contained in:
parent
64c4863c8a
commit
f9520085fa
@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!requirements.txt
|
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6,6 +6,7 @@
|
|||||||
*.scss text eol=lf
|
*.scss text eol=lf
|
||||||
|
|
||||||
# Text files
|
# Text files
|
||||||
|
*.Dockerfile text
|
||||||
Dockerfile* text
|
Dockerfile* text
|
||||||
.dockerignore text
|
.dockerignore text
|
||||||
.editorconfig text
|
.editorconfig text
|
||||||
|
19
etcher-pro.Dockerfile
Normal file
19
etcher-pro.Dockerfile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
FROM balenalib/amd64-debian-node:12.6-buster-build as builder
|
||||||
|
RUN \
|
||||||
|
apt-get update \
|
||||||
|
&& \
|
||||||
|
apt-get install \
|
||||||
|
build-essential \
|
||||||
|
jq \
|
||||||
|
&& \
|
||||||
|
apt-get clean
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
ADD . ./
|
||||||
|
RUN npm config set unsafe-perm true
|
||||||
|
RUN npm config set arch armv7l
|
||||||
|
ENV npm_config_arch=armv7l
|
||||||
|
RUN make electron-develop
|
||||||
|
|
||||||
|
FROM alexisresinio/balena-electronjs-amd64
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
COPY --from=builder /usr/src/app /usr/src/app
|
Loading…
x
Reference in New Issue
Block a user