mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
Use jessie base images for i386-nlp
This fixes potential SIGILL errors with the supervisor on i386-nlp. Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
557f88965a
commit
92aa9b40ab
@ -18,7 +18,7 @@ FROM balenalib/i386-node:10-run as i386-node-base
|
||||
RUN echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-start && chmod +x /usr/bin/cross-build-start \
|
||||
&& echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-end && chmod +x /usr/bin/cross-build-end
|
||||
|
||||
FROM balenalib/i386-nlp-node:6-run as i386-nlp-node-base
|
||||
FROM balenalib/i386-nlp-node:6-jessie as i386-nlp-node-base
|
||||
RUN echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-start && chmod +x /usr/bin/cross-build-start \
|
||||
&& echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-end && chmod +x /usr/bin/cross-build-end
|
||||
|
||||
|
@ -18,11 +18,9 @@ FROM balenalib/i386-node:10-run as i386-base
|
||||
RUN echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-start && chmod +x /usr/bin/cross-build-start \
|
||||
&& echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-end && chmod +x /usr/bin/cross-build-end
|
||||
|
||||
FROM resin/i386-node:6.13.1-slim as i386-nlp-base
|
||||
FROM balenalib/i386-nlp-node:6-jessie as i386-nlp-base
|
||||
RUN echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-start && chmod +x /usr/bin/cross-build-start \
|
||||
&& echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-end && chmod +x /usr/bin/cross-build-end \
|
||||
# TODO: Move this to a balenalib image so this isn't necessary
|
||||
&& sed -i '/jessie-updates/{s/^/#/}' /etc/apt/sources.list
|
||||
&& echo '#!/bin/sh\nexit 0' > /usr/bin/cross-build-end && chmod +x /usr/bin/cross-build-end
|
||||
|
||||
# A little hack to make this work with the makefile
|
||||
FROM $ARCH-base AS node-build
|
||||
|
Loading…
Reference in New Issue
Block a user