mirror of
https://github.com/sqlite/sqlite.git
synced 2024-11-21 19:29:09 +01:00
Create Dockerfile
This commit is contained in:
parent
cfd4507c83
commit
7e5d7cc879
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@ -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"]
|
Loading…
Reference in New Issue
Block a user