File tree 3 files changed +13
-9
lines changed
3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 6
6
regression. *
7
7
* .o
8
8
* .so
9
+ .github /*
Original file line number Diff line number Diff line change 34
34
tags : ghcr.io/x-b-e/server-pg:latest
35
35
build-args : |
36
36
PG_MAJOR=13
37
- # outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=XBE server base
38
- # cache-from: ghcr.io/x-b-e/server-base
37
+ PG_TAG=13-13.3
38
+ # outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=XBE server pg
39
+ # cache-from: ghcr.io/x-b-e/server-pg
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
3
ARG PG_MAJOR="13"
4
+ ARG PG_TAG="13-13.3"
4
5
5
- FROM postgis/postgis:${PG_MAJOR}
6
+ FROM postgis/postgis:13-3.3
7
+ # FROM postgis/postgis:${PG_TAG}
6
8
7
- LABEL org.opencontainers.image.source "https://github.com/x-b-e/server-pg "
9
+ LABEL org.opencontainers.image.source "https://github.com/x-b-e/pgvector "
8
10
LABEL org.opencontainers.image.description "XBE server postgres with postgis, pgvector"
9
11
LABEL org.opencontainers.image.licenses "PostgreSQL License"
10
12
11
- ARG PG_MAJOR
12
-
13
- ENV PG_MAJOR=${PG_MAJOR}
13
+ # ARG PG_MAJOR
14
+ # ENV PG_MAJOR=${PG_MAJOR}
15
+ ENV PG_MAJOR=13
14
16
15
17
COPY . /tmp/pgvector
16
18
17
19
RUN apt-get update && \
18
- apt-get install -y --no-install-recommends build-essential postgresql-server-dev-${PGMAJOR } && \
20
+ apt-get install -y --no-install-recommends build-essential postgresql-server-dev-${PG_MAJOR } && \
19
21
cd /tmp/pgvector && \
20
22
make clean && \
21
23
make OPTFLAGS="" && \
22
24
make install && \
23
25
mkdir /usr/share/doc/pgvector && \
24
26
cp LICENSE README.md /usr/share/doc/pgvector && \
25
27
rm -r /tmp/pgvector && \
26
- apt-get remove -y build-essential postgresql-server-dev-${PGMAJOR } && \
28
+ apt-get remove -y build-essential postgresql-server-dev-${PG_MAJOR } && \
27
29
apt-get autoremove -y && \
28
30
rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments