Skip to content

Commit

Permalink
Bump to latest alpine version for Docker image and install git
Browse files Browse the repository at this point in the history
git is needed to generate the version file.
  • Loading branch information
daewok committed Nov 30, 2021
1 parent f503fb6 commit d5d3197
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools-for-build/Dockerfile.static-executable-example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# libgmp, and libz staticially linked in. It is simple, however it demonstrates
# that a static executable can run on ~any Linux system.

FROM clfoundation/sbcl:alpine3.13
FROM clfoundation/sbcl:alpine3.14

COPY . /usr/local/src/sbcl/

Expand All @@ -21,7 +21,7 @@ RUN set -x \
*) echo "Unknown arch" >&2; exit 1;; \
esac \
&& export SBCL_ARCH \
&& apk add --no-cache ca-certificates curl openssl make gcc musl-dev linux-headers gnupg patch zlib-dev zlib-static \
&& apk add --no-cache ca-certificates curl openssl make gcc musl-dev linux-headers gnupg patch zlib-dev zlib-static git \
# Remove the hardcoding of armv5 as target arch. Use the default provided
# by the base image. Required when building for ARM on Alpine 3.12.
&& sed -i -e "s/CFLAGS += -marm -march=armv5/CFLAGS += -marm/" src/runtime/Config.arm-linux \
Expand Down

0 comments on commit d5d3197

Please sign in to comment.