mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-09-03 12:11:38 +00:00
Create the CI images in different job units to work around image size issues.
16 lines
421 B
Docker
16 lines
421 B
Docker
FROM clearlinux:latest
|
|
ARG clear_ver
|
|
|
|
# Configure Go
|
|
ENV GOPATH /home/clr/go
|
|
ENV PATH="/home/clr/go/bin:${PATH}"
|
|
|
|
# Update and add bundles
|
|
RUN swupd update -V $clear_ver && \
|
|
swupd bundle-add mixer go-basic c-basic os-core-update-dev sudo && \
|
|
useradd -G wheelnopw clr && \
|
|
mkdir -p /run/lock
|
|
USER clr
|
|
RUN git config --global user.email "travis@example.com" && \
|
|
git config --global user.name "Travis CI"
|