mirror of
https://github.com/a2geek/cc65-pipeline.git
synced 2024-05-31 15:41:27 +00:00
18 lines
482 B
Docker
18 lines
482 B
Docker
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
|