-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor modifications to docker builder
- Loading branch information
Showing
4 changed files
with
26 additions
and
22 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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
FROM amd64/ubuntu:xenial | ||
|
||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \ | ||
sed -i 's|deb http://security|#deb http://security|g' /etc/apt/sources.list && \ | ||
apt update && \ | ||
apt install -y curl devscripts equivs tar gcc gzip pkg-config git && \ | ||
mkdir -p /tmp/output | ||
|
||
# It requires to copy the entrypoint.sh to the docker folder. | ||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
||
FROM ubuntu:xenial | ||
|
||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \ | ||
sed -i 's|deb http://security|#deb http://security|g' /etc/apt/sources.list && \ | ||
apt update && \ | ||
apt install -y curl devscripts equivs tar gcc gzip pkg-config git && \ | ||
mkdir -p /tmp/output | ||
|
||
# It requires to copy the entrypoint.sh to the docker folder. | ||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
FROM arm64/ubuntu:xenial | ||
|
||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \ | ||
sed -i 's|deb http://security|#deb http://security|g' /etc/apt/sources.list && \ | ||
apt update && \ | ||
apt install -y curl devscripts equivs tar gcc gzip pkg-config git && \ | ||
mkdir -p /tmp/output | ||
|
||
# It requires to copy the entrypoint.sh to the docker folder. | ||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
||
FROM ubuntu:xenial | ||
|
||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \ | ||
sed -i 's|deb http://security|#deb http://security|g' /etc/apt/sources.list && \ | ||
apt update && \ | ||
apt install -y curl devscripts equivs tar gcc gzip pkg-config git && \ | ||
mkdir -p /tmp/output | ||
|
||
# It requires to copy the entrypoint.sh to the docker folder. | ||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
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
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