cc65 pipeline base.

This commit is contained in:
Rob Greene 2018-01-19 20:08:14 -06:00
commit a82236cf51
2 changed files with 25 additions and 0 deletions

17
Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM alpine:latest
LABEL description="This is a cc65 Docker container intended to be used for build pipelines."
ENV VERSION="V2.16"
RUN apk add --no-cache build-base && \
wget -P /tmp https://github.com/cc65/cc65/archive/${VERSION}.tar.gz && \
cd /tmp && \
tar xzf *.tar.gz && \
cd cc65* && \
make && \
env prefix=/usr/local make install && \
cd - && \
rm -rf *.tar.gz cc65* && \
apk del --no-cache build-base && \
apk add --no-cache make

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# cc65 build agent
This Docker image is intended to be used in a build pipeline to build
6502/65c02/65816 projects. It is simply a blend of
[Alpine Linux](https://alpinelinux.org/) and
[cc65](http://cc65.github.io/cc65/).
In an effort to keep the image small, it currently only contains (beyond the base Alpine Linux Docker image) `make` and `cc65`.