Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile update #67

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfiles/ca-certs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CA Certificate Chains

Add any PEM formated CA certification chain to this directory with an extension
of '.cert'. If the docker file supports importing CA chains, it will add them
to the container's system CA store.
File renamed without changes.
6 changes: 5 additions & 1 deletion Dockerfiles/generic-oe64
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash

# Add "repo" tool (used by many Yocto-based projects)
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo

# This copy will include README, but update should ignore
ADD ca-certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates

RUN useradd -Ums /bin/bash -l -p build -u [UID] build && \
usermod -aG sudo build
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
Expand Down
12 changes: 8 additions & 4 deletions Dockerfiles/openxt-bullseye-oe64
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -yq \
sed wget cvs subversion git-core coreutils \
unzip texi2html texinfo docbook-utils gawk diffstat \
help2man make gcc build-essential g++ desktop-file-utils chrpath cpio \
screen bash-completion python3 iputils-ping \
screen bash-completion python3 python-is-python3 iputils-ping \
guilt iasl quilt bin86 \
bcc libsdl1.2-dev liburi-perl genisoimage policycoreutils unzip vim \
rpm curl libncurses5-dev libncursesw5 libc6-dev-i386 libelf-dev \
Expand All @@ -34,7 +34,7 @@ RUN cd /tmp && \
cd /tmp && rm -rf ghc-${GHC_VERSION}

# Add "repo" tool (used by many Yocto-based projects)
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo

# Symlink for troublesome packages
Expand All @@ -43,8 +43,12 @@ RUN ln -s /lib64/ld-linux-x86-64.so.2 /lib/
RUN useradd -Ums /bin/bash -l -p '""' -u $UID $UNAME

# Add quilt config files
ADD root/home/build/.quiltrc /home/build/.quiltrc
ADD root/home/build/oxt-patch.header /home/build/oxt-patch.header
ADD files/quiltrc /home/$UNAME/.quiltrc
ADD files/oxt-patch.header /home/$UNAME/oxt-patch.header

# This copy will include README, but update should ignore
ADD ca-certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates

RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
Expand Down
11 changes: 8 additions & 3 deletions Dockerfiles/openxt-buster-oe64
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN cd /tmp && \
cd /tmp && rm -rf ghc-6.12.3

# Add "repo" tool (used by many Yocto-based projects)
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo

# Symlink for troublesome packages
Expand All @@ -51,12 +51,17 @@ RUN ln -s /lib64/ld-linux-x86-64.so.2 /lib/
RUN useradd -Ums /bin/bash -l -p '""' -u $UID $UNAME

# Add quilt config files
ADD root/home/build/.quiltrc /home/build/.quiltrc
ADD root/home/build/oxt-patch.header /home/build/oxt-patch.header
ADD files/quiltrc /home/$UNAME/.quiltrc
ADD files/oxt-patch.header /home/$UNAME/oxt-patch.header

RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
ENV LANG en_US.utf8

# This copy will include README, but update should ignore
ADD ca-certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates

USER $UNAME
WORKDIR /home/$UNAME
ENTRYPOINT ["/bin/bash"]
2 changes: 1 addition & 1 deletion Dockerfiles/openxt-oe32
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN cd /tmp && \
cd /tmp && rm -rf ghc-6.12.3

# Add "repo" tool (used by many Yocto-based projects)
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo

RUN useradd -Ums /bin/bash -l -p $UNAME -u $UID $UNAME && \
Expand Down
10 changes: 7 additions & 3 deletions Dockerfiles/openxt-oe64
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN cd /tmp && \
cd /tmp && rm -rf ghc-6.12.3

# Add "repo" tool (used by many Yocto-based projects)
RUN curl http://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo && \
chmod a+x /usr/local/bin/repo

# Symlink for troublesome packages
Expand All @@ -48,8 +48,12 @@ RUN ln -s /lib64/ld-linux-x86-64.so.2 /lib/
RUN useradd -Ums /bin/bash -l -p '""' -G sudo -u $UID $UNAME

# Add quilt config files
ADD root/home/build/.quiltrc /home/build/.quiltrc
ADD root/home/build/oxt-patch.header /home/build/oxt-patch.header
ADD files/quiltrc /home/$UNAME/.quiltrc
ADD files/oxt-patch.header /home/$UNAME/oxt-patch.header

# This copy will include README, but update should ignore
ADD ca-certs/* /usr/local/share/ca-certificates/
RUN update-ca-certificates

RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
Expand Down
Loading