Merge branch 'fix/images' into docker
This commit is contained in:
commit
099c7d11b2
12 changed files with 24 additions and 24 deletions
|
@ -34,4 +34,4 @@ COPY --from=build /opt/myriad .
|
||||||
|
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
||||||
CMD ["./myriad"]
|
ENTRYPOINT ["./myriad"]
|
|
@ -16,4 +16,4 @@ COPY --from=build /tmp/myriad .
|
||||||
|
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
||||||
CMD ["./myriad"]
|
ENTRYPOINT ["./myriad"]
|
|
@ -1,12 +1,12 @@
|
||||||
FROM alpine AS build
|
FROM alpine as build
|
||||||
|
|
||||||
RUN apk update && apk add g++
|
|
||||||
COPY bf.cpp .
|
COPY bf.cpp .
|
||||||
RUN g++ bf.cpp -o bf
|
RUN apk add --no-cache g++ && \
|
||||||
|
g++ bf.cpp -o bf
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
RUN apk update && apk add libstdc++
|
RUN apk add --no-cache libstdc++
|
||||||
COPY --from=build bf /usr/local/bin/
|
COPY --from=build bf /usr/local/bin/
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
RUN apk update
|
RUN apk add --no-cache gcc libc-dev
|
||||||
RUN apk add gcc libc-dev
|
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
RUN apk update
|
RUN apk add --no-cache g++
|
||||||
RUN apk add g++
|
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
FROM debian:stretch
|
FROM debian:stable-slim
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends gnupg dirmngr && \
|
apt-get install -y --no-install-recommends gnupg dirmngr ca-certificates && \
|
||||||
echo 'deb http://downloads.haskell.org/debian stretch main' > /etc/apt/sources.list.d/ghc.list && \
|
echo 'deb https://downloads.haskell.org/debian stretch main' > /etc/apt/sources.list.d/ghc.list && \
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574 && \
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA3CBA3FFE22B574 && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends ghc-8.6.5
|
apt-get install -y --no-install-recommends ghc-9.0.1 && \
|
||||||
|
apt-get purge -y gnupg dirmngr ca-certificates && \
|
||||||
|
apt-get autoremove -y && \
|
||||||
|
apt-get autoclean -y
|
||||||
|
|
||||||
ENV PATH /opt/ghc/8.6.5/bin:$PATH
|
ENV PATH /opt/ghc/9.0.1/bin:$PATH
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -2,6 +2,7 @@ FROM alpine:latest
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add idris@testing
|
apk add idris@testing && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM openjdk:13-alpine
|
FROM openjdk:17-alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
cat | node -p
|
cat > program.js
|
||||||
|
node program.js
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
RUN apk update
|
RUN apk add --no-cache lua5.3
|
||||||
RUN apk add lua5.3
|
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM node:alpine
|
FROM node:alpine
|
||||||
LABEL author="1Computer1"
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
RUN yarn global add typescript @types/node
|
RUN npm install --global --save-dev @swc/core @swc/register
|
||||||
|
|
||||||
COPY run.sh /var/run/
|
COPY run.sh /var/run/
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
cat > program.ts
|
cat > program.ts
|
||||||
tsc --lib DOM,ESNext --target ES2019 --strict \
|
swc-node program.ts
|
||||||
--skipLibCheck --types /usr/local/share/.config/yarn/global/node_modules/@types/node program.ts \
|
|
||||||
&& cat program.js | node -p
|
|
||||||
|
|
Loading…
Reference in a new issue