Skip to content

Instantly share code, notes, and snippets.

@larzza
larzza / details-with-summary.md
Last active January 27, 2022 04:01
Make a part of a github comment expandable with the details tag
<details>
<summary>Click to expand...</summary>
This could be a stacktrace. This could be a stacktrace. This could be a stacktrace. 
This could be a stacktrace. This could be a stacktrace. This could be a stacktrace. 
This could be a stacktrace. This could be a stacktrace. This could be a stacktrace.
</details>
@larzza
larzza / glibc-in-alpine-docker
Created June 24, 2019 20:35
Install glibc in Alpine docker image
RUN apk --no-cache add \
wget \
ca-certificates \
libstdc++
# Get and install glibc for alpine
ARG APK_GLIBC_VERSION=2.29-r0
ARG APK_GLIBC_FILE="glibc-${APK_GLIBC_VERSION}.apk"
ARG APK_GLIBC_BIN_FILE="glibc-bin-${APK_GLIBC_VERSION}.apk"
ARG APK_GLIBC_BASE_URL="https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${APK_GLIBC_VERSION}"
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \