-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 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,14 +1,16 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:bionic | ||
|
||
MAINTAINER Hyokeun Jeon <[email protected]> | ||
|
||
# Install gbs | ||
RUN echo "deb [trusted=yes] http://download.tizen.org/tools/archive/18.01.4/Ubuntu_16.04/ /" >> /etc/apt/sources.list | ||
RUN echo "deb [trusted=yes] http://download.tizen.org/tools/latest-release/Ubuntu_18.04/ /" >> /etc/apt/sources.list | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y --force-yes wget gbs | ||
RUN apt update \ | ||
&& apt install -y --force-yes wget gbs zip unzip \ | ||
&& apt autoremove && apt clean && apt autoclean && apt autoclean \ | ||
&& rm -rf /var/cache/apt/archives | ||
|
||
# Binfmt configuration | ||
RUN find /proc/sys/fs/binfmt_misc/ -name "qemu-*" -type f -exec sh -c "echo -1 | tee {}" \; | ||
|
||
ENTRYPOINT ["gbs"] | ||
CMD ["--version"] |