mirror of
https://github.com/balena-io/etcher.git
synced 2025-08-02 07:57:44 +00:00
etcher pro dockerfile wip
This commit is contained in:
parent
c54f2e08c2
commit
4909766cd8
@ -1,2 +0,0 @@
|
||||
*
|
||||
!requirements.txt
|
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