Commit 889867f3 authored by Oleksii Kutuzov's avatar Oleksii Kutuzov

Update scripts

parent b2c09986
...@@ -38,13 +38,13 @@ RUN wget --no-check-certificate ${FILE_URL} && \ ...@@ -38,13 +38,13 @@ RUN wget --no-check-certificate ${FILE_URL} && \
RUN git config --global --add safe.directory /mnt/dev/imx-mkimage && \ RUN git config --global --add safe.directory /mnt/dev/imx-mkimage && \
git config --global --add safe.directory /mnt/dev/uboot-imx git config --global --add safe.directory /mnt/dev/uboot-imx
# Set environment
RUN echo '. /opt/fsl-imx-fb/4.14-sumo/environment-setup-aarch64-poky-linux' >> ~/.bashrc
# Add user # Add user
RUN useradd -ms /bin/bash dev RUN useradd -ms /bin/bash dev
USER dev USER dev
WORKDIR /home/dev WORKDIR /home/dev
# Set environment
RUN echo '. /opt/fsl-imx-fb/4.14-sumo/environment-setup-aarch64-poky-linux' >> ~/.bashrc
# Clone imx-mkimage as user inside the container # Clone imx-mkimage as user inside the container
RUN git clone https://git.seco.com/seco-ne/3rd-party/kuk/imx-mkimage-kuk.git -b kuk_imx_4.14.98_2.0.0_ga /home/dev/imx-mkimage_4.14 RUN git clone https://git.seco.com/seco-ne/3rd-party/kuk/imx-mkimage-kuk.git -b kuk_imx_4.14.98_2.0.0_ga /home/dev/imx-mkimage_4.14
\ No newline at end of file
#!/bin/bash #!/bin/bash
docker build -t gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest . docker build -t git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest .
\ No newline at end of file
#!/bin/bash #!/bin/bash
docker push gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest docker push git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest
\ No newline at end of file
#!/bin/bash #!/bin/bash
docker build --no-cache -t gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest . docker build --no-cache -t git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest .
\ No newline at end of file
FROM ubuntu:20.04 FROM debian:10
LABEL name=fsl-imx-wayland_5.10-hardknott LABEL name=fsl-imx-wayland_5.10-hardknott
LABEL maintainer="oleksii.kutuzov@seco.com" LABEL maintainer="oleksii.kutuzov@seco.com"
......
#!/bin/bash #!/bin/bash
docker build -t git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest . docker build -t gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest .
\ No newline at end of file
#!/bin/bash #!/bin/bash
docker push git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest docker push gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest
\ No newline at end of file
FROM debian:10
LABEL name=fsl-imx-wayland_5.10-hardknott-qt
LABEL maintainer="oleksii.kutuzov@seco.com"
SHELL ["/bin/bash", "-c"]
ENV FILE_NAME "fsl-imx-xwayland-glibc-x86_64-imx-image-full-cortexa53-crypto-imx8mp-lpddr4-evk-toolchain-5.10-hardknott.sh"
ENV ZIP_NAME "${FILE_NAME}.zip"
ENV FILE_URL "https://documentation.seco.com/service/lib/exe/fetch.php/service/linux/sdk/${ZIP_NAME}"
# Install dependencies
RUN apt-get update && \
apt-get install -y \
zip \
unzip \
wget \
build-essential \
python3 \
git \
flex \
bison \
libz-dev \
bc \
kmod \
libssl-dev
# Unpack the SDK to /opt/fsl-imx-wayland/4.14-sumo
RUN wget --no-check-certificate ${FILE_URL} && \
unzip ${ZIP_NAME} && \
chmod +x ${FILE_NAME} && \
./${FILE_NAME} -y && \
rm -f ${FILE_NAME} && \
rm -f ${ZIP_NAME}
# Add user
RUN useradd -ms /bin/bash dev
USER dev
WORKDIR /home/dev
# Set environment
RUN echo '. /opt/fsl-imx-xwayland/5.10-hardknott/environment-setup-cortexa53-crypto-poky-linux' >> ~/.bashrc
# Clone imx-mkimage as user inside the container
RUN git clone https://git.seco.com/seco-ne/3rd-party/kuk/imx-mkimage-kuk.git -b kuk_lf-5.10.52_2.1.0 /home/dev/imx-mkimage
#!/bin/bash
docker build -t gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest .
#!/bin/bash
docker push gitlab.keith-koep.com:5050/kutuzov/dev-containers/$(basename $(pwd)):latest
FROM ubuntu:20.04
LABEL name=seconorth-wayland_kirkstone
LABEL maintainer="oleksii.kutuzov@seco.com"
SHELL ["/bin/bash", "-c"]
ENV FILE_NAME "seconorth-wayland-glibc-x86_64-seconorth-image-cortexa53-crypto-seco-mx8mm-toolchain-kirkstone-8.0.sh"
ENV FILE_URL "https://support.garz-fricke.com/projects/Linux-Yocto/Releases/Yocto-kirkstone-8.0/seco-mx8mm/sdk/${FILE_NAME}"
# Install dependencies
RUN apt-get update && \
apt-get install -y \
zip \
unzip \
wget \
build-essential \
python3 \
git \
flex \
bison \
libz-dev \
bc \
kmod
# Unpack the SDK to /opt/fsl-imx-wayland/4.14-sumo
RUN wget --no-check-certificate ${FILE_URL} && \
chmod +x ${FILE_NAME} && \
./${FILE_NAME} -y && \
rm -f ${FILE_NAME}
RUN apt-get update && \
apt-get install -y \
libyaml-dev
# Update PATH
ENV PATH=${PATH}:/opt/seconorth-wayland/kirkstone-8.0/sysroots/x86_64-seconorthsdk-linux/usr/bin/aarch64-seconorth-linux
# Set environment
RUN echo '. /opt/seconorth-wayland/kirkstone-8.0/environment-setup-cortexa53-crypto-seconorth-linux' >> ~/.bashrc
# Add user
RUN useradd -ms /bin/bash dev
USER dev
WORKDIR /home/dev
# Clone imx-mkimage as user inside the container
RUN git clone https://git.seco.com/seco-ne/3rd-party/kuk/imx-mkimage-kuk.git -b kuk_lf-5.10.52_2.1.0 /home/dev/imx-mkimage
\ No newline at end of file
#!/bin/bash
docker build -t git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest .
\ No newline at end of file
#!/bin/bash
docker push git.seco.com:5050/oleksii.kutuzov/dev-containers/$(basename $(pwd)):latest
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment