Browse Source

Initial Commit

master
James Mills 1 year ago
commit
7d3825e4e9
Signed by: prologic GPG Key ID: AC4C014F1440EBD6
  1. 25
      .drone.yml
  2. 2
      .gitignore
  3. 11
      Dockerfile
  4. 15
      README.md

25
.drone.yml

@ -0,0 +1,25 @@
---
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: r.mills.io
repo: r.mills.io/prologic/golang-alpine-ffmpeg
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: notify
image: plugins/webhook
settings:
urls:
- https://msgbus.mills.io/ci.mills.io
when:
status:
- success
- failure

2
.gitignore

@ -0,0 +1,2 @@
*~
*.bak

11
Dockerfile

@ -0,0 +1,11 @@
FROM golang:alpine
RUN apk add --no-cache -U \
build-base git make \
ffmpeg-dev
RUN mkdir /src
WORKDIR /src
ONBUILD COPY . .
ONBUILD RUN /bin/sh -c "[ -f Makefile ] && make || go build"

15
README.md

@ -0,0 +1,15 @@
# golang-alpine-ffmpeg
[![Build Status](https://ci.mills.io/api/badges/prologic/golang-alpine-ffmpeg/status.svg)](https://ci.mills.io/prologic/golang-alpine-ffmpeg)
A [Go](https://golang.org) image environment based on
[Alpine](https://alpinelinux.org/) with the following
components installed:
- gcc
- git
- make
- ffmpeg-dev
This is useful for CI that requires access to a C compiler, the `make` command
and depends on ffmpe.
Loading…
Cancel
Save