From 7e5d7cc8790bb44a379736cb4db6e6265ddddaed Mon Sep 17 00:00:00 2001 From: ferryman0608 <145987354+ferryman0608@users.noreply.github.com> Date: Fri, 29 Mar 2024 23:05:07 +0800 Subject: [PATCH] Create Dockerfile --- Dockerfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..030644124d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,29 @@ +FROM ubuntu:20.04 +ENV DEBIAN_FRONTEND=noninteractive +WORKDIR /sqlite +RUN apt-get update && apt-get install -y git +RUN git clone https://github.com/sqlite/sqlite.git . +RUN git checkout version-3.45.1 +RUN apt-get install -y \ +autoconf \ +automake \ +bison \ +libtool \ +make \ +tcl \ +pkg-config \ +gcc \ +g++ \ +tcl-dev \ +zlib1g-dev \ +tcl8.6-dev \ +tar +RUN cd /sqlite \ +&& git fetch \ +&& git checkout version-3.45.1 \ +&& ./configure \ +&& make \ +&& make sqlite3.c \ +&& make devtest +EXPOSE 8080 +CMD ["/bin/bash"]