Compare commits

...

10 Commits

Author SHA1 Message Date
dany
3ea90c0daa fix: correct Antos base files permission bug 2024-01-19 10:46:23 +01:00
dany
0e9999a4c4 Update Dockerfile 2023-11-21 15:26:23 +01:00
dany
7322c5dd11 Update Dockerfile 2023-11-21 15:25:29 +01:00
dany
e52a872abc Update Dockerfile 2023-11-21 15:00:55 +01:00
dany
28cc042647 Update Dockerfile 2023-11-21 14:58:43 +01:00
dany
d165bc4f00 Update Dockerfile 2023-11-21 14:57:41 +01:00
dany
ef7ddf4c9c Update Dockerfile 2023-11-21 14:55:46 +01:00
dany
2607dcb459 Use ubuntu jammy
Co-authored-by: DanyLE <xsang.le@gmail.com>
Reviewed-on: #7
2023-11-21 14:48:15 +01:00
dany
da23dbe3f0 Update 'Jenkinsfile' 2023-07-04 13:53:43 +02:00
dany
0ab0347740 Update 'Dockerfile' 2023-07-04 11:31:28 +02:00
5 changed files with 12 additions and 5 deletions

View File

@ -1,6 +1,10 @@
FROM ubuntu:focal AS deploy-env
FROM ubuntu:jammy AS deploy-env
ARG tag
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 libssl1.1 wget libvncclient1 libjpeg-turbo8 openssh-client tar tree
COPY deps/ /
RUN dpkg -i /libssl1.1_1.1.1f-$(uname -m).deb
# manual install libssl1.1
RUN apt-get update && apt-get --yes --no-install-recommends install libsqlite3-0 zlib1g libreadline8 wget libvncclient1 libjpeg-turbo8 openssh-client tar tree
RUN apt clean && rm -rf /var/lib/apt/lists/*
RUN mkdir /ulib
RUN cp -rf /lib/*-linux-*/libsqlite3*.so* /ulib
@ -53,9 +57,11 @@ RUN cp -rf /lib/*-linux-*/libkeyutils*.so* /ulib
RUN mkdir /platform
COPY antos-release/ /
RUN tar -xzf /build/$tag/AntOS_$(uname -m).tar.gz -C /platform/
RUN chown -R root:root /platform
RUN tree /platform
RUN ls -al /platform
FROM busybox:1.35-glibc
FROM busybox:stable-glibc
#copy all necessary libraries
COPY --from=deploy-env /ulib/ /lib/
COPY --from=deploy-env /bin/wget /bin/
@ -75,4 +81,5 @@ RUN chmod 744 /opt/www/runner.ini
COPY start.sh /start.sh
RUN chmod 700 /start.sh
# start the entry point
ENTRYPOINT /start.sh

4
Jenkinsfile vendored
View File

@ -25,7 +25,7 @@ pipeline{
set -e
cd $WORKSPACE
tree antos-release
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
# docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
for dir in antos-release/build/* ; do
tag=$(basename $dir)
echo "BUILD TAG $tag"
@ -39,4 +39,4 @@ pipeline{
}
}
}
}
}

BIN
deps/libssl1.1_1.1.1f-aarch64.deb vendored Normal file

Binary file not shown.

BIN
deps/libssl1.1_1.1.1f-armv7l.deb vendored Normal file

Binary file not shown.

BIN
deps/libssl1.1_1.1.1f-x86_64.deb vendored Normal file

Binary file not shown.