using alpine image now

This commit is contained in:
Robin Müller 2021-05-21 16:36:58 +02:00
parent ff5f3b2aae
commit 90edbe2968
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,8 @@
FROM ubuntu:latest
FROM alpine:latest
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y cmake g++
# RUN apt-get update -y && apt-get upgrade -y
# RUN apt-get install -y cmake g++
RUN apk add cmake make g++
COPY . /usr/src/app
WORKDIR /usr/src/app

View File

@ -1,7 +1,8 @@
FROM ubuntu:latest
FROM alpine:latest
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install -y cmake g++
# RUN apt-get update -y && apt-get upgrade -y
# RUN apt-get install -y cmake g++
RUN apk add cmake make g++
COPY . /usr/src/app
WORKDIR /usr/src/app