Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Conarx Containers - TimescaleDB Docker Image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker Containers
Conarx Containers - TimescaleDB Docker Image
Merge requests
!52
chore: updated to version 2.14.2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
chore: updated to version 2.14.2
nkukard/containers-postgresql-timescaledb:nkupdates-edge
into
edge
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Nigel Kukard
requested to merge
nkukard/containers-postgresql-timescaledb:nkupdates-edge
into
edge
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
1730d322
Show latest version
1 file
+
115
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1730d322
chore: updated to version 2.14.2
· 1730d322
Nigel Kukard
authored
1 year ago
Dockerfile
+
115
−
0
Options
@@ -54,6 +54,119 @@ RUN set -eux; \
FROM
tsbuilder-base
as
tsbuilder-2.14.2
ENV
TIMESCALEDB_VER=2.14.2
# Checkout the right version
RUN
set
-eux
;
\
cd
build
;
\
cd
timescaledb
;
\
git checkout
"
$TIMESCALEDB_VER
"
# Build
RUN
set
-eux
;
\
cd
build
;
\
cd
"timescaledb"
;
\
# Patching
# patch -p1 < ../patches/timescaledb-2.14.0-fix-test-output.patch; \
mkdir build; \
cd build; \
\
cmake ..; \
make VERBOSE=1 -j$(nproc) -l 8; \
make DESTDIR="/build/timescaledb-root" install; \
# We need to install a second time to run timescaledb tests
echo "Size before stripping..."; \
du -hs /build/timescaledb-root
# Strip binaries
RUN
set
-eux
;
\
cd
build/timescaledb-root
;
\
scanelf
--recursive
--nobanner
--osabi
--etype
"ET_DYN,ET_EXEC"
.
|
awk
'{print $3}'
| xargs
\
strip
\
--remove-section
=
.comment
\
--remove-section
=
.note
\
-R
.gnu.lto_
*
-R
.gnu.debuglto_
*
\
-N
__gnu_lto_slim
-N
__gnu_lto_v1
\
--strip-unneeded
;
\
echo
"Size after stripping..."
;
\
du
-hs
/build/timescaledb-root
# Testing
RUN
set
-eux
;
\
# Install TimescaleDB so we can run the installcheck tests below
tar -c -C /build/timescaledb-root . | tar -x -C /; \
# For testing we need to run the tests as a non-priv user
cd build; \
adduser -D pgsqltest; \
chown -R pgsqltest:pgsqltest "timescaledb"; \
cd "timescaledb"; \
cd build; \
# Test
if ! sudo -u pgsqltest make VERBOSE=1 -j1 -l8 installcheck; then \
cat test/regression.diffs; \
false; \
fi
FROM
tsbuilder-base
as
tsbuilder-2.14.1
ENV
TIMESCALEDB_VER=2.14.1
# Checkout the right version
RUN
set
-eux
;
\
cd
build
;
\
cd
timescaledb
;
\
git checkout
"
$TIMESCALEDB_VER
"
# Build
RUN
set
-eux
;
\
cd
build
;
\
cd
"timescaledb"
;
\
# Patching
# patch -p1 < ../patches/timescaledb-2.14.0-fix-test-output.patch; \
mkdir build; \
cd build; \
\
cmake ..; \
make VERBOSE=1 -j$(nproc) -l 8; \
make DESTDIR="/build/timescaledb-root" install; \
# We need to install a second time to run timescaledb tests
echo "Size before stripping..."; \
du -hs /build/timescaledb-root
# Strip binaries
RUN
set
-eux
;
\
cd
build/timescaledb-root
;
\
scanelf
--recursive
--nobanner
--osabi
--etype
"ET_DYN,ET_EXEC"
.
|
awk
'{print $3}'
| xargs
\
strip
\
--remove-section
=
.comment
\
--remove-section
=
.note
\
-R
.gnu.lto_
*
-R
.gnu.debuglto_
*
\
-N
__gnu_lto_slim
-N
__gnu_lto_v1
\
--strip-unneeded
;
\
echo
"Size after stripping..."
;
\
du
-hs
/build/timescaledb-root
# Testing
RUN
set
-eux
;
\
# Install TimescaleDB so we can run the installcheck tests below
tar -c -C /build/timescaledb-root . | tar -x -C /; \
# For testing we need to run the tests as a non-priv user
cd build; \
adduser -D pgsqltest; \
chown -R pgsqltest:pgsqltest "timescaledb"; \
cd "timescaledb"; \
cd build; \
# Test
if ! sudo -u pgsqltest make VERBOSE=1 -j1 -l8 installcheck; then \
cat test/regression.diffs; \
false; \
fi
FROM
tsbuilder-base
as
tsbuilder-2.14.0
ENV
TIMESCALEDB_VER=2.14.0
@@ -116,6 +229,8 @@ FROM registry.conarx.tech/containers/postgresql/edge
# NK: Versions are reverse ordered so newer ones overwrite data from older ones
COPY
--from=tsbuilder-2.14.0 /build/timescaledb-root /
COPY
--from=tsbuilder-2.14.1 /build/timescaledb-root /
COPY
--from=tsbuilder-2.14.2 /build/timescaledb-root /
ARG
VERSION_INFO=
Loading