Compare commits
10 Commits
fa5bdeb29e
...
3ea90c0daa
Author | SHA1 | Date | |
---|---|---|---|
|
3ea90c0daa | ||
|
0e9999a4c4 | ||
|
7322c5dd11 | ||
|
e52a872abc | ||
|
28cc042647 | ||
|
d165bc4f00 | ||
|
ef7ddf4c9c | ||
|
2607dcb459 | ||
|
da23dbe3f0 | ||
|
0ab0347740 |
13
Dockerfile
13
Dockerfile
@ -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
4
Jenkinsfile
vendored
@ -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
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
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
BIN
deps/libssl1.1_1.1.1f-x86_64.deb
vendored
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user