mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 15:02:23 +00:00
Remove git+ssh as they're no longer needed for npm install.
This commit is contained in:
parent
933cbdedad
commit
a5fa19cafe
@ -28,10 +28,11 @@ COPY resin-supervisor.conf /etc/supervisor/conf.d/resin-supervisor.conf
|
||||
WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& apt-get purge -qqy g++ git libsqlite3-dev make ssh-client \
|
||||
&& apt-get purge -qqy g++ libsqlite3-dev make \
|
||||
&& apt-get clean \
|
||||
&& apt-get autoremove -qqy \
|
||||
&& rm -rf /var/lib/apt/lists/
|
||||
|
@ -21,11 +21,11 @@ COPY resin-supervisor.conf /etc/supervisor/conf.d/resin-supervisor.conf
|
||||
WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& apt-get purge -qqy g++ git libsqlite3-dev make ssh-client \
|
||||
&& apt-get purge -qqy g++ libsqlite3-dev make \
|
||||
&& apt-get clean \
|
||||
&& apt-get autoremove -qqy \
|
||||
&& rm -rf /var/lib/apt/lists/
|
||||
|
@ -21,10 +21,11 @@ COPY resin-supervisor.conf /etc/supervisor/conf.d/resin-supervisor.conf
|
||||
WORKDIR /app
|
||||
COPY package.json postinstall.sh /app/
|
||||
RUN apt-get -q update \
|
||||
&& apt-get install -qqy g++ git libsqlite3-dev make ssh-client --no-install-recommends \
|
||||
&& apt-get install -qqy g++ libsqlite3-dev make --no-install-recommends \
|
||||
&& npm install --unsafe-perm --production \
|
||||
&& npm dedupe \
|
||||
&& npm cache clean \
|
||||
&& apt-get purge -qqy g++ git libsqlite3-dev make ssh-client \
|
||||
&& apt-get purge -qqy g++ libsqlite3-dev make \
|
||||
&& apt-get clean \
|
||||
&& apt-get autoremove -qqy \
|
||||
&& rm -rf /var/lib/apt/lists/
|
||||
|
Loading…
Reference in New Issue
Block a user