Giter Site home page Giter Site logo

songboriceman / docker-alpine-make-gcc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prantlf/docker-alpine-make-gcc

0.0 0.0 0.0 17 KB

Docker image: Make, gcc, g++ and musl library for development on Alpine Linux

License: MIT License

Makefile 86.06% Dockerfile 13.94%

docker-alpine-make-gcc's Introduction

prantlf/alpine-make-gcc

Docker image: Make, gcc, binutils, autoconf, musl and other tools for compiling packages on Alpine Linux

This image is supposed to build C and C++ sources into an output usable on Alpine Linux. This image is built automatically on the top of the tag latest from the Alpine repository, so that it is always based on the latest Alpine Linux. Packages make, gcc, g++, musl-dev, binutils, autoconf, automake, libtool, pkgconfig, check-dev, file nad patch have to be updated from time to time by triggering a new build manually.

If you have trouble pulling the image from the Docker's default hub.docker.com, try gitlab.com, where this project is primarily maintained: registry.gitlab.com/prantlf/docker-alpine-make-gcc.

Tags

  • latest, 3.16, 3.15, 3.14, 3.13, 3.12

Install

docker pull prantlf/alpine-make-gcc

Use

Typically, you will use this image as the first image in a multi-stage image build, for example:

FROM prantlf/alpine-make-gcc:latest as builder
RUN cd /root && \
    wget https://host/path/sources.tar.gz && \
    tar xf sources.tar.gz && \
    cd sources && \
    make

FROM alpine:latest
COPY --from=builder /root/sources/binary /usr/bin/

Build, Test and Publish

The local image is built as alpine-make-gcc and pushed to the docker hub as prantlf/alpine-make-gcc:3.12 and prantlf/alpine-make-gcc:latest.

# Remove an old local image:
make clean
# Check the `Dockerfiles`:
make lint
# Build a new local image:
make build
# Enter an interactive shell inside the created image:
make run
# Login to the docker hub:
make login
# Push the local image to the docker hub:
make push

License

Copyright (c) 2020-2022 Ferdinand Prantl

Licensed under the MIT license.

docker-alpine-make-gcc's People

Contributors

prantlf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.