This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Google sheets to calendar. | |
function myFunction() { | |
var sheets = SpreadsheetApp.getActive().getSheets(); | |
var cal = CalendarApp.getCalendarsByName('Meal Plan')[0]; | |
if (cal) { | |
cal.deleteCalendar(); | |
} | |
cal = CalendarApp.createCalendar('Meal Plan', { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM azul/zulu-openjdk-alpine:11 AS builder | |
WORKDIR / | |
RUN jlink --no-header-files --no-man-pages --compress=2 --strip-debug --add-modules java.base,java.compiler,java.desktop,java.instrument,java.logging,java.management,java.naming,java.scripting,java.security.jgss,java.sql,java.xml,jdk.attach,jdk.jdi,jdk.management,jdk.unsupported,jdk.crypto.ec --output /build/jre | |
FROM alpine:3 | |
COPY --from=builder /build/jre /usr/local/java | |
RUN ln -sf /usr/local/java/bin/java /usr/bin/java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM azul/zulu-openjdk-alpine:11 AS builder | |
WORKDIR / | |
RUN /usr/lib/jvm/default-jvm/bin/jlink --no-header-files --no-man-pages --compress=2 --strip-debug --add-modules java.base,java.compiler,java.desktop,java.instrument,java.logging,java.management,java.naming,java.scripting,java.security.jgss,java.sql,java.xml,jdk.attach,jdk.jdi,jdk.management,jdk.unsupported,jdk.crypto.ec --output /build/jre | |
FROM alpine | |
COPY --from=builder /build/jre /usr/local/java | |
COPY ld-musl-x86_64.path /etc/ld-musl-x86_64.path | |
RUN apk add --no-cache libcap | |
RUN adduser -S java | |
RUN ln -sf /usr/local/java/bin/java /usr/bin/java |
OlderNewer