forked from Sunbird-Knowlg/knowledge-mw-service
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from sunbird-cb/4.8.0-retireFix
4.8.0 retire fix
- Loading branch information
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -7,8 +7,13 @@ RUN npm install --unsafe-perm | |
|
||
FROM node:8.11-slim | ||
MAINTAINER "Manojvv" "[email protected]" | ||
RUN sed -i '/jessie-updates/d' /etc/apt/sources.list \ | ||
&& apt update && apt install openssl imagemagick -y \ | ||
# Use a local mirror for Debian Jessie | ||
RUN echo "deb http://archive.debian.org/debian/ jessie main" > /etc/apt/sources.list | ||
RUN echo "deb-src http://archive.debian.org/debian/ jessie main" >> /etc/apt/sources.list | ||
RUN echo "deb http://archive.debian.org/debian-security/ jessie/updates main" >> /etc/apt/sources.list | ||
RUN echo "deb-src http://archive.debian.org/debian-security/ jessie/updates main" >> /etc/apt/sources.list | ||
RUN apt-get -o Acquire::Check-Valid-Until=false update | ||
RUN apt install openssl imagemagick -y --force-yes \ | ||
&& apt-get clean \ | ||
&& useradd -m sunbird | ||
USER sunbird | ||
|
This file contains 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