Skip to content

Instantly share code, notes, and snippets.

@ali-ince
ali-ince / Dockerfile-seabolt-archlinux
Last active March 18, 2019 09:10
A Dockerfile that enables seabolt compilation on arch linux
FROM archlinux/base AS build-openssl-with-static
# Install required packages for re-building openssl with static libraries enabled
RUN pacman -Syyu --noconfirm base-devel asp && useradd -m -d /pkg-build pkg-build
# Update makepkg.conf to enable static libraries
RUN sed -i -e 's/!staticlibs/staticlibs/g' /etc/makepkg.conf
# Trust pgp key for the openssl source
RUN su -c "gpg --recv-keys 8657ABB260F056B1E5190839D9C4D26D0E604491" - pkg-build
# Export openssl package definition
RUN su -c "asp export openssl" - pkg-build
# Build and create a package that includes static libraries
package main
import (
"fmt"
"log"
"os"
"time"
"github.com/fatih/structs"
"github.com/neo4j/neo4j-go-driver/neo4j"

Keybase proof

I hereby claim:

  • I am ali-ince on github.
  • I am alithecoder (https://keybase.io/alithecoder) on keybase.
  • I have a public key ASAnpfmRNZEeKeswJIkX1mPE9igILivXob_tWUQUlmfUogo

To claim this, I am signing this object: