Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update to use frolvlad/alpine-glibc image
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Jun 25, 2019
1 parent a048dd2 commit 477d5f5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions containers/alpine-3.10-git/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------
FROM alpine:3.10
# This image includes glibc. Change to FROM alpine:3.10 if you don't need glibc.
FROM frolvlad/alpine-glibc:alpine-3.10

ARG GLIBC_VERSION=2.29-r0

RUN apk add --no-cache -q git \
#
# Install glibc compatibility from https://github.com/sgerrand/alpine-pkg-glibc
# This is optional, but increases odds of extensions working
&& apk add --no-cache ca-certificates wget libstdc++ libgcc \
&& wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
&& wget -q https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk \
&& apk add --no-cache glibc-${GLIBC_VERSION}.apk \
&& rm glibc-${GLIBC_VERSION}.apk
# Install dependencies, git, and bash
RUN apk add --no-cache libstdc++ libgcc git bash

0 comments on commit 477d5f5

Please sign in to comment.