Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/oap/Dockerfile.oap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM openjdk:8u181-jdk-stretch
FROM openjdk:8u181-jre-alpine AS builder

ENV DIST_NAME=apache-skywalking-apm-bin \
JAVA_OPTS=" -Xms256M " \
Expand All @@ -30,6 +30,10 @@ RUN set -ex; \
rm -rf "$DIST_NAME/bin"; rm -rf "$DIST_NAME/webapp"; rm -rf "$DIST_NAME/agent"; \
mv "$DIST_NAME" skywalking;

FROM openjdk:8u181-jre-alpine

COPY --from=builder /skywalking /skywalking

WORKDIR skywalking

COPY log4j2.xml config/
Expand Down
6 changes: 5 additions & 1 deletion docker/ui/Dockerfile.ui
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM openjdk:8u181-jdk-stretch
FROM openjdk:8u181-jre-alpine AS builder

ENV DIST_NAME=apache-skywalking-apm-bin \
JAVA_OPTS=" -Xms256M " \
Expand All @@ -30,6 +30,10 @@ RUN set -ex; \
rm -rf "$DIST_NAME/bin"; rm -rf "$DIST_NAME/oap-libs"; rm -rf "$DIST_NAME/agent"; \
mv "$DIST_NAME" skywalking;

FROM openjdk:8u181-jre-alpine

COPY --from=builder /skywalking /skywalking

WORKDIR skywalking

COPY docker-entrypoint.sh .
Expand Down