<p></p>
<p>Why would you need docker if you have a static binary? You can just copy the binary around and use it. That said, osm2pgsql can't be build statically because the Postgresql libraries aren't made to be used statically. You'd have to start with building a special version of the Postgresql libraries and that is way out of scope of this repository.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/discussions/1428#discussioncomment-483103">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353TZUOH6M3MC67P4TK3TDXLGLANCNFSM4ZD4AQLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WVX2N224GS6Y7AIJTTDXLGLA5CNFSM4ZD4AQLKYY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAADV6HY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/discussions/1428#discussioncomment-483103",
"url": "https://github.com/openstreetmap/osm2pgsql/discussions/1428#discussioncomment-483103",
"name": "View Discussion"
},
"description": "View this Discussion on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>